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

Comparing ray/src/rt/source.c (file contents):
Revision 2.27 by gregl, Fri Aug 15 10:24:24 1997 UTC vs.
Revision 2.28 by gwlarson, Mon Aug 10 18:37:56 1998 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1995 Regents of the University of California */
1 > /* Copyright (c) 1998 Silicon Graphics, Inc. */
2  
3   #ifndef lint
4 < static char SCCSid[] = "$SunId$ LBL";
4 > static char SCCSid[] = "$SunId$ SGI";
5   #endif
6  
7   /*
# Line 538 | Line 538 | register RAY  *r;
538                                                  /* check for passed illum */
539          if (passillum(m, r)) {
540                  if (m->oargs.nsargs && strcmp(m->oargs.sarg[0], VOIDID))
541 <                        return(rayshade(r, modifier(m->oargs.sarg[0])));
541 >                        return(rayshade(r,lastmod(objndx(m),m->oargs.sarg[0])));
542                  raytrans(r);
543                  return(1);
544          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines