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 1.12 by greg, Fri Aug 23 12:30:29 1991 UTC vs.
Revision 2.1 by greg, Tue Nov 12 17:05:04 1991 UTC

# Line 147 | Line 147 | init()                         /* start rtrace and set up buffers */
147                                          /* set up signal handling */
148          signal(SIGPIPE, quit);
149                                          /* start rtrace process */
150 +        errno = 0;
151          maxbytes = open_process(rt.pd, rtargv);
152          if (maxbytes == 0) {
153                  eputs(rtargv[0]);
# Line 336 | Line 337 | char   *nm;
337                          if (!isfltd(++cp, " \t\n"))
338                                  break;
339                          thisillum.minbrt = atof(cp);
340 +                        if (thisillum.minbrt < 0.)
341 +                                thisillum.minbrt = 0.;
342                          cp = sskip(cp);
343                          continue;
344                  case 'o':                       /* output file */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines