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

Comparing ray/src/rt/pmapsrc.c (file contents):
Revision 2.15 by rschregle, Tue Mar 20 19:55:33 2018 UTC vs.
Revision 2.16 by rschregle, Sat Apr 7 20:25:10 2018 UTC

# Line 527 | Line 527 | void getPhotonPorts (char **portList)
527     OBJREC *obj, *mat;
528     char **lp;  
529    
530 <   /* Check for missing port modifiers */
530 >   /* Init photon port objects */
531 >   photonPorts = NULL;
532 >  
533     if (!portList [0])
534 <      error(USER, "no photon ports");
534 >      return;
535    
536     for (i = 0; i < nobjects; i++) {
537        obj = objptr(i);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines