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.34 by greg, Sat Apr 18 16:14:26 2009 UTC vs.
Revision 2.36 by greg, Sat Dec 12 19:00:59 2009 UTC

# Line 68 | Line 68 | main(          /* compute illum distributions using rtrace */
68          gargv = argv;
69          progname = gargv[0];
70                                  /* set up rendering defaults */
71 <        dstrsrc = 0.25;
71 >        dstrsrc = 0.5;
72          directrelay = 3;
73          directvis = 0;
74          ambounce = 2;
# Line 172 | Line 172 | char  *s;
172   {
173          if (warnings)
174                  eputs(s);
175 + }
176 +
177 +
178 + void
179 + quit(ec)                        /* make sure exit is called */
180 + int     ec;
181 + {
182 +        if (ray_pnprocs > 0)    /* close children if any */
183 +                ray_pclose(0);          
184 +        exit(ec);
185   }
186  
187  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines