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

Comparing ray/src/rt/rcmain.c (file contents):
Revision 2.37 by greg, Sun Oct 27 00:01:21 2024 UTC vs.
Revision 2.38 by greg, Wed Oct 30 02:22:23 2024 UTC

# Line 213 | Line 213 | main(int argc, char *argv[])
213                                          /* initialize calcomp routines early */
214          initfunc();
215          calcontext(RCCONTEXT);
216 +        esupport &= ~E_REDEFW;          /* temporary */
217                                          /* option city */
218          for (i = 1; i < argc; i++) {
219                                                  /* expand arguments */
# Line 332 | Line 333 | main(int argc, char *argv[])
333          }
334          if (nmods <= 0)
335                  error(USER, "missing required modifier argument");
336 +        esupport |= E_REDEFW;
337                                          /* override some option settings */
338          override_options();
339                                          /* set/check spectral sampling */
# Line 415 | Line 417 | wputs(                         /* warning output function */
417   )
418   {
419          int  lasterrno = errno;
420 +        if (erract[WARNING].pf == NULL)
421 +                return;         /* called by calcomp or someone */
422          eputs(s);
423          errno = lasterrno;
424   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines