# | Line 230 | Line 230 | void distribPhotonContrib (PhotonMap* pm, unsigned num | |
---|---|---|
230 | if (!pm -> distribTarget) | |
231 | error(INTERNAL, "no photons to distribute in distribPhotonContrib"); | |
232 | ||
233 | < | /* Get photon ports if specified */ |
234 | < | if (ambincl == 1) |
235 | < | getPhotonPorts(); |
233 | > | /* Get photon ports from modifier list */ |
234 | > | getPhotonPorts(photonPortList); |
235 | ||
236 | /* Get photon sensor modifiers */ | |
237 | getPhotonSensors(photonSensorList); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |