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

Comparing ray/src/rt/rc3.c (file contents):
Revision 2.23 by greg, Sun May 27 18:35:57 2018 UTC vs.
Revision 2.24 by greg, Wed Sep 9 21:28:19 2020 UTC

# Line 444 | Line 444 | parental_loop()
444                          }
445                          put_zero_record(++lastray);
446                  }
447 <                if (raysleft && !--raysleft)
447 >                if (!morays())
448                          break;                          /* preemptive EOI */
449          }
450          while (next_child_nq(1) >= 0)           /* empty results queue */
# Line 529 | Line 529 | feeder_loop()
529                                  lastdone = lastray = 0;
530                          ninq = 0;
531                  }
532 <                if (raysleft && !--raysleft)
532 >                if (!morays())
533                          break;                          /* preemptive EOI */
534          }
535          if (ninq) {                             /* polish off input */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines