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

Comparing ray/src/rt/rview.c (file contents):
Revision 2.29 by greg, Thu Aug 21 07:05:59 2008 UTC vs.
Revision 2.30 by greg, Fri Aug 22 17:39:26 2008 UTC

# Line 85 | Line 85 | rview(void)                            /* do a view */
85                          (*dev->comout)(buf);
86                          refine(&ptrunk, pdepth+1);
87                  }
88                if (waitrays() < 0)
89                        quit(1);
88                  if (dev->inpready)              /* noticed some input */
89                          command(": ");
90                  else                            /* finished this depth */
# Line 109 | Line 107 | again:
107                  ;
108          if (*args) *args++ = '\0';
109          else *++args = '\0';
110 +
111 +        if (waitrays() < 0)                     /* clear ray queue */
112 +                quit(1);
113          
114          switch (inpbuf[0]) {
115          case 'f':                               /* new frame (|focus|free) */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines