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.26 by greg, Fri Nov 5 17:36:56 2004 UTC vs.
Revision 2.28 by greg, Mon Jun 13 20:07:56 2005 UTC

# Line 33 | Line 33 | void  (*trace)() = NULL;               /* trace call */
33  
34   int  do_irrad = 0;                      /* compute irradiance? */
35  
36 + int  rand_samp = 0;                     /* pure Monte Carlo sampling? */
37 +
38   int  psample = 8;                       /* pixel sample size */
39   double  maxdiff = .15;                  /* max. sample difference */
40  
# Line 215 | Line 217 | again:
217          else *++args = '\0';
218          
219          switch (inpbuf[0]) {
220 <        case 'f':                               /* new frame (or free mem.) */
220 >        case 'f':                               /* new frame (|focus|free) */
221                  if (badcom("frame")) {
222 <                        if (badcom("free"))
223 <                                goto commerr;
224 <                        free_objmem();
222 >                        if (badcom("focus")) {
223 >                                if (badcom("free"))
224 >                                        goto commerr;
225 >                                free_objmem();
226 >                                break;
227 >                        }
228 >                        getfocus(args);
229                          break;
230                  }
231                  getframe(args);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines