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

Comparing ray/src/util/bsdfview.pl (file contents):
Revision 2.7 by greg, Fri Jul 20 00:50:40 2018 UTC vs.
Revision 2.8 by greg, Wed Jan 26 18:01:41 2022 UTC

# Line 91 | Line 91 | if (-e $rif) {                 # RIF already exists?
91          exit;
92   }
93  
94 + if ($objects[0] =~ /\.xml$/i) {
95 +        system "checkBSDF $objects[0]";
96 +        die "Bad XML input\n" if ( $? );
97 + }
98 +
99   print "bsdfview: creating rad input file '$rif'\n";
100  
101   my $scene = qq("!bsdf2rad @range @objects");    # let bsdf2rad do complaining

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines