ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapcontrib.c
(Generate patch)

Comparing ray/src/rt/pmapcontrib.c (file contents):
Revision 2.16 by rschregle, Fri Mar 16 21:00:09 2018 UTC vs.
Revision 2.17 by rschregle, Tue Mar 20 19:55:33 2018 UTC

# 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);      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines