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.38 by greg, Wed Oct 5 17:20:55 2011 UTC

# Line 8 | Line 8 | static const char RCSid[] = "$Id$";
8   #include  <signal.h>
9   #include  <ctype.h>
10  
11 + #include  "rtprocess.h" /* win_popen() */
12   #include  "mkillum.h"
13  
14                                  /* default parameters */
# Line 68 | Line 69 | main(          /* compute illum distributions using rtrace */
69          gargv = argv;
70          progname = gargv[0];
71                                  /* set up rendering defaults */
72 <        dstrsrc = 0.25;
72 >        dstrsrc = 0.5;
73          directrelay = 3;
73        directvis = 0;
74          ambounce = 2;
75                                  /* get options from command line */
76          for (i = 1; i < argc; i++) {
# 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