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

Comparing ray/src/rt/rtmain.c (file contents):
Revision 2.49 by greg, Mon Dec 11 17:21:59 2023 UTC vs.
Revision 2.50 by greg, Mon Dec 11 18:33:53 2023 UTC

# Line 294 | Line 294 | main(int  argc, char  *argv[])
294                                  sens_curve = NULL;
295                                  } break;
296                          case 'Y':                       /* photopic response */
297 +                                if (argv[i][3])
298 +                                        goto badopt;
299                                  sens_curve = scolor_photopic;
300                                  out_scalefactor = WHTEFFICACY;
301                                  break;
302                          case 'S':                       /* scotopic response */
303 +                                if (argv[i][3])
304 +                                        goto badopt;
305                                  sens_curve = scolor_scotopic;
306                                  out_scalefactor = WHTSCOTOPIC;
307                                  break;
308                          case 'M':                       /* melanopic response */
309 +                                if (argv[i][3])
310 +                                        goto badopt;
311                                  sens_curve = scolor_melanopic;
312                                  out_scalefactor = WHTMELANOPIC;
313                                  break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines