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.55 by greg, Thu Sep 7 05:20:54 2006 UTC vs.
Revision 2.56 by greg, Wed Jul 25 04:12:36 2007 UTC

# Line 86 | Line 86 | marksources(void)                      /* find and mark source objects */
86                          continue;
87                                          /* find material */
88                  m = findmaterial(objptr(o->omod));
89 <                if (m == NULL || !islight(m->otype))
89 >                if (m == NULL)
90 >                        continue;
91 >                if (m->otype == MAT_CLIP) {
92 >                        markclip(m);    /* special case for antimatter */
93 >                        continue;
94 >                }
95 >                if (!islight(m->otype))
96                          continue;       /* not source modifier */
97          
98                  if (m->oargs.nfargs != (m->otype == MAT_GLOW ? 4 :

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines