ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/m_direct.c
(Generate patch)

Comparing ray/src/rt/m_direct.c (file contents):
Revision 1.4 by greg, Tue Aug 6 14:07:06 1991 UTC vs.
Revision 1.5 by greg, Thu Aug 8 11:30:05 1991 UTC

# Line 185 | Line 185 | register OBJREC  *m;
185          ff = m->otype == MAT_DIRECT1 ? 5 : 9;
186          if (ff > m->oargs.nsargs)
187                  objerror(m, USER, "too few arguments");
188 <        if (!vardefined(m->oargs.sarg[0]))
189 <                loadfunc(m->oargs.sarg[ff-1]);
188 >        funcfile(m->oargs.sarg[ff-1]);
189          if (m->os == NULL) {
190                  mxf = (FULLXF *)malloc(sizeof(FULLXF));
191                  if (mxf == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines