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

Comparing ray/src/util/genBSDF.pl (file contents):
Revision 2.6 by greg, Wed Dec 15 17:23:58 2010 UTC vs.
Revision 2.8 by greg, Sat Jan 29 16:44:01 2011 UTC

# Line 31 | Line 31 | while ($#ARGV >= 0) {
31                  shift @ARGV;
32          } elsif ("$ARGV[0]" =~ /^-d/) {
33                  userror() if ($#ARGV < 6);
34 <                @dim = "@ARGV[1..6]";
34 >                @dim = @ARGV[1..6];
35                  shift @ARGV for (1..6);
36          } elsif ("$ARGV[0]" =~ /^[-+]./) {
37                  userror();
# Line 54 | Line 54 | if ( $mgfin ) {
54          system "rad2mgf $radscn > $mgfscn" if ( $geout );
55   }
56   if ($#dim != 5) {
57 <        @dim = split /\s+/, `getbbox -h $radscn`;
58 <        shift @dim;
57 >        @dim = split ' ', `getbbox -h $radscn`;
58   }
59   print STDERR "Warning: Device extends into room\n" if ($dim[5] > 1e-5);
60   # Add receiver surface (rectangle)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines