# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |