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

Comparing ray/src/cv/bsdf2ttree.c (file contents):
Revision 2.58 by greg, Wed Dec 15 01:38:50 2021 UTC vs.
Revision 2.60 by greg, Tue Sep 12 16:40:57 2023 UTC

# Line 20 | Line 20 | static const char RCSid[] = "$Id$";
20                                  /* global argv[0] */
21   char                    *progname;
22                                  /* reciprocity averaging option */
23 < static const char       *recip = " -a";
23 > static const char       *recip = "";
24                                  /* percentage to cull (<0 to turn off) */
25   static double           pctcull = 90.;
26                                  /* sampling order */
# Line 765 | Line 765 | main(int argc, char *argv[])
765                                  single_plane_incident = 0;
766                          break;
767                  case 'f':
768 <                        if (!argv[i][2]) {
768 >                        if ((argv[i][0] == '-') & !argv[i][2]) {
769                                  if (strchr(argv[++i], '=') != NULL) {
770                                          add_wbsdf("-f", 1);
771                                          add_wbsdf(argv[i], 1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines