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

Comparing ray/src/util/wrapBSDF.c (file contents):
Revision 2.7 by greg, Mon Feb 16 19:11:28 2015 UTC vs.
Revision 2.9 by greg, Wed Feb 18 06:18:38 2015 UTC

# Line 775 | Line 775 | main(int argc, char *argv[])
775                                  UsageExit(argv[0]);
776                          continue;
777                  case 'c':               /* correct solid angle */
778 <                        correct_solid_angle ^= 1;
778 >                        correct_solid_angle = 1;
779                          continue;
780                  case 't':               /* transmission */
781                          if (i >= argc-1)
# Line 818 | Line 818 | main(int argc, char *argv[])
818                                  argv[i] = (char *)stdin_name;
819                          }
820                          data_file[ndataf].fname = argv[i];
821 <                        data_file[ndataf++].spectrum = cur_spectrum;
821 >                        data_file[ndataf].spectrum = cur_spectrum;
822 >                        ndataf++;
823                          continue;
824                  case 's':               /* spectrum name or input file */
825                          if (++i >= argc)
# Line 880 | Line 881 | doneOptions:                                   /* get XML input */
881          } else {
882                  xml_input = argv[i];
883          }
883        if ((xml_input == win6_template) & (angle_basis == ABdefault))
884                angle_basis = ABklemsFull;
884                                                  /* wrap it! */
885          return !wrapBSDF(argv[0]);
886   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines