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

Comparing ray/src/rt/raycalls.c (file contents):
Revision 2.28 by greg, Thu Feb 2 18:55:09 2023 UTC vs.
Revision 2.29 by greg, Thu Feb 2 19:13:13 2023 UTC

# Line 347 | Line 347 | ray_restore(                   /* restore parameter settings */
347          ambincl = rp->ambincl;
348                                          /* update ambient calculation */
349          ambnotify(OVOID);
350 <        if (thescene.cutree != EMPTY) {
350 >        if ((thescene.cutree != EMPTY) & !castonly) {
351                  int     newamb = (ambfile == NULL) ?  rp->ambfile[0] :
352                                          strcmp(ambfile, rp->ambfile) ;
353  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines