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 */ |
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) |
816 |
|
argv[i] = (char *)stdin_name; |
817 |
|
} |
818 |
|
data_file[ndataf].fname = argv[i]; |
819 |
< |
data_file[ndataf++].spectrum = cur_spectrum; |
819 |
> |
data_file[ndataf].spectrum = cur_spectrum; |
820 |
> |
ndataf++; |
821 |
|
continue; |
822 |
|
case 's': /* spectrum name or input file */ |
823 |
|
if (++i >= argc) |
879 |
|
} else { |
880 |
|
xml_input = argv[i]; |
881 |
|
} |
883 |
– |
if ((xml_input == win6_template) & (angle_basis == ABdefault)) |
884 |
– |
angle_basis = ABklemsFull; |
882 |
|
/* wrap it! */ |
883 |
|
return !wrapBSDF(argv[0]); |
884 |
|
} |