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.42 by greg, Sun Jan 18 17:03:12 2004 UTC vs.
Revision 2.43 by greg, Mon Mar 1 18:11:20 2004 UTC

# Line 83 | Line 83 | marksources()                  /* find and mark source objects */
83                  if (!issurface(o->otype) || o->omod == OVOID)
84                          continue;
85                                          /* find material */
86 <                m = findmaterial(o);
86 >                m = findmaterial(objptr(o->omod));
87                  if (m == NULL || !islight(m->otype))
88                          continue;       /* not source modifier */
89          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines