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.11 by rschregle, Tue Oct 27 19:06:54 2015 UTC vs.
Revision 2.13 by rschregle, Tue May 17 17:39:47 2016 UTC

# Line 538 | Line 538 | void getPhotonPorts ()
538        /* Check if object is a surface and NOT a light source (duh) and
539         * resolve its material via any aliases, then check for inclusion in
540         * port modifier list */
541 <      if (issurface(obj -> otype) && !islight(mat -> otype) &&
541 >      if (issurface(obj -> otype) && mat && !islight(mat -> otype) &&
542            inset(ambset, objndx(mat))) {
543           /* Add photon port */
544           photonPorts = (SRCREC*)realloc(photonPorts,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines