| # | 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; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |