# | Line 333 | Line 333 | void distribPhotons (PhotonMap **pmaps, unsigned numPr | |
---|---|---|
333 | initPhotonEmissionFuncs(); | |
334 | initPhotonScatterFuncs(); | |
335 | ||
336 | < | /* Get photon ports if specified */ |
337 | < | if (ambincl == 1) |
338 | < | getPhotonPorts(); |
336 | > | /* Get photon ports from modifier list */ |
337 | > | getPhotonPorts(photonPortList); |
338 | ||
339 | /* Get photon sensor modifiers */ | |
340 | getPhotonSensors(photonSensorList); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |