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

Comparing ray/src/rt/rv2.c (file contents):
Revision 2.70 by greg, Thu Mar 12 17:19:18 2020 UTC vs.
Revision 2.71 by greg, Mon Feb 1 16:19:49 2021 UTC

# Line 793 | Line 793 | traceray(                              /* trace a single ray */
793                  matspec[0] = '\0';
794                  if (thisray.ro->omod != OVOID) {
795                          mod = objptr(thisray.ro->omod);
796 <                        mat = findmaterial(mod);
796 >                        mat = findmaterial(thisray.ro);
797                  }
798                  if (thisray.rod < 0.0)
799                          strcpy(matspec, "back of ");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines