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.8 by greg, Tue Feb 17 02:44:54 2015 UTC vs.
Revision 2.10 by greg, Fri Feb 20 17:05:40 2015 UTC

# Line 294 | Line 294 | mat_assignments(const char *caller, const char *fn, ez
294          if (xml_input == win6_template)
295              for (i = 0; XMLfieldID[i].nickName[0]; i++)
296                  if (XMLfieldID[i].win_need &&
297 <                        !ezxml_txt(ezxml_child(wtl,XMLfieldID[i].fullName))[0]) {
297 >                        !ezxml_txt(ezxml_child(wtl,XMLfieldID[i].fullName))[0])
298                          fprintf(stderr,
299 <                        "%s: missing required '%s' assignment for WINDOW <%s>\n",
299 >                        "%s: warning - missing '%s' assignment for WINDOW <%s>\n",
300                                          caller, XMLfieldID[i].nickName,
301                                          XMLfieldID[i].fullName);
302 <                        return 0;
303 <                }
304 <        return 1;               /* no errors */
302 >        return 1;
303   }
304  
305   /* Complete angle basis specification */
# Line 775 | Line 773 | main(int argc, char *argv[])
773                                  UsageExit(argv[0]);
774                          continue;
775                  case 'c':               /* correct solid angle */
776 <                        correct_solid_angle ^= 1;
776 >                        correct_solid_angle = 1;
777                          continue;
778                  case 't':               /* transmission */
779                          if (i >= argc-1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines