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

Comparing ray/src/rt/rtrace.c (file contents):
Revision 2.25 by gregl, Fri Oct 17 10:14:37 1997 UTC vs.
Revision 2.26 by gregl, Thu Oct 30 11:01:16 1997 UTC

# Line 169 | Line 169 | char  *fname;
169                  d = normalize(direc);
170                  if (d == 0.0) {                         /* zero ==> flush */
171                          bogusray();
172 <                        if (--nextflush <= 0) {
172 >                        if (--nextflush <= 0 || vcount <= 0) {
173                                  fflush(stdout);
174                                  nextflush = hresolu;
175                          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines