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

Comparing ray/src/gen/mkillum.c (file contents):
Revision 2.35 by greg, Sat Jun 6 05:03:47 2009 UTC vs.
Revision 2.37 by greg, Mon Aug 15 19:48:06 2011 UTC

# Line 70 | Line 70 | main(          /* compute illum distributions using rtrace */
70                                  /* set up rendering defaults */
71          dstrsrc = 0.5;
72          directrelay = 3;
73        directvis = 0;
73          ambounce = 2;
74                                  /* get options from command line */
75          for (i = 1; i < argc; i++) {
# Line 172 | Line 171 | char  *s;
171   {
172          if (warnings)
173                  eputs(s);
174 + }
175 +
176 +
177 + void
178 + quit(ec)                        /* make sure exit is called */
179 + int     ec;
180 + {
181 +        if (ray_pnprocs > 0)    /* close children if any */
182 +                ray_pclose(0);          
183 +        exit(ec);
184   }
185  
186  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines