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.8 by greg, Tue Feb 17 02:44:54 2015 UTC

# 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