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.64 by greg, Tue Feb 24 19:39:27 2015 UTC vs.
Revision 2.65 by greg, Thu May 28 09:03:54 2015 UTC

# Line 135 | Line 135 | marksources(void)                      /* find and mark source objects */
135                                  source[ns].sflags |= SSKIP;
136                          }
137                  }
138 #if  SHADCACHE
139                initobscache(ns);
140 #endif
138                  foundsource += !(source[ns].sflags & SSKIP);
139          }
140          if (!foundsource) {
141                  error(WARNING, "no light sources found");
142                  return;
143          }
144 <        
144 > #if  SHADCACHE
145 >        initobscache(ns);
146 > #endif
147          /* PMAP: disable virtual sources */
148          if (!photonMapping)
149                  markvirtuals();                 /* find and add virtual sources */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines