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

Comparing ray/src/rt/rxtrace.cpp (file contents):
Revision 2.4 by greg, Wed May 1 22:06:09 2024 UTC vs.
Revision 2.5 by greg, Thu May 2 22:10:43 2024 UTC

# Line 236 | Line 236 | rtrace(                                /* trace rays from stdin or file */
236                  pending |= (n > 1);     // time to flush output?
237                  bool    atZero = IsZeroVec(ivbuf[2*n-1]);
238                  if (pending & (atZero | (n == flushIntvl))) {
239 <                        if (!myRTmanager.FlushQueue())
239 >                        if (myRTmanager.FlushQueue() <= 0)
240                                  error(USER, "ray flush error");
241                          fflush(stdout);
242                          pending = false;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines