# | Line 142 | Line 142 | marksources(void) /* find and mark source objects */ | |
---|---|---|
142 | return; | |
143 | } | |
144 | #if SHADCACHE | |
145 | < | initobscache(ns); |
145 | > | for (ns = 0; ns < nsources; ns++) /* initialize obstructor cache */ |
146 | > | initobscache(ns); |
147 | #endif | |
148 | /* PMAP: disable virtual sources */ | |
149 | if (!photonMapping) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |