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.35 by greg, Tue Aug 16 18:09:53 2011 UTC vs.
Revision 2.36 by greg, Tue Mar 20 03:37:08 2012 UTC

# Line 24 | Line 24 | int  code;
24   {
25          if (ray_pnprocs > 0)    /* close children if any */
26                  ray_pclose(0);
27 <        else if (!ray_pnprocs)  /* in parent */
27 >        if (!ray_pnprocs)       /* in parent */
28                  devclose();
29          exit(code);
30   }
# Line 249 | Line 249 | commerr:
249                  error(COMMAND, errmsg);
250                  break;
251          }
252 +        if (newparam && ray_pnprocs)            /* drop into immediate mode */
253 +                ray_pclose(0);
254   #undef  badcom
255   }
256  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines