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

Comparing ray/src/util/rtcontrib.c (file contents):
Revision 1.37 by greg, Tue Oct 11 23:41:45 2005 UTC vs.
Revision 1.38 by greg, Tue Oct 11 23:55:37 2005 UTC

# Line 1076 | Line 1076 | trace_contribs(FILE *fin)
1076                          writebuf(rtp->pd.w, inpbuf, iblen);
1077                  } else {                        /* else bypass dummy ray */
1078                          queue_raytree(rtp);     /* empty tree */
1079 <                        if ((yres <= 0) | (waitflush > 0))
1079 >                        if ((yres <= 0) | (waitflush > 1))
1080                                  waitflush = 1;  /* flush after this */
1081                  }
1082                if (raysleft && !--raysleft)
1083                        break;
1082                  process_queue();                /* catch up with results */
1083 +                if (raysleft && !--raysleft)
1084 +                        break;                  /* preemptive EOI */
1085          }
1086          while (wait_rproc() != NULL)            /* process outstanding rays */
1087                  process_queue();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines