| # | Line 222 | Line 222 | if ( $tensortree ) { | |
|---|---|---|
| 222 | do_matrix_bsdf(); | |
| 223 | } | |
| 224 | # Output XML | |
| 225 | – | my $old_fh = select(STDOUT); |
| 226 | – | $| = 1; |
| 227 | – | select($old_fh); |
| 228 | – | print "<!-- Created by: genBSDF @savedARGV -->\n"; |
| 225 | # print STDERR "Running: $wrapper\n"; | |
| 226 | < | system $wrapper; |
| 226 | > | system "$wrapper -C 'Created by: genBSDF @savedARGV'"; |
| 227 | die "Could not wrap BSDF data\n" if ( $? ); | |
| 228 | # Clean up temporary files and exit | |
| 229 | exec $rmtmp; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |