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

Comparing ray/src/util/genambpos.pl (file contents):
Revision 2.2 by greg, Fri Apr 25 18:13:47 2014 UTC vs.
Revision 2.3 by greg, Sat Apr 26 04:02:03 2014 UTC

# Line 38 | Line 38 | while ($#ARGV >= 0) {
38   }
39   userror() if ($#ARGV != 0);
40   my $cmd = "getinfo < $ARGV[0] " .
41 <                q[| sed -n 's/^.* -aa \([.0-9][.0-9]*\) .*$/\1/p'];
41 >                q[| sed -n 's/^.* -aa \([.0-9][^ ]*\) .*$/\1/p'];
42   my $ambacc=`$cmd`;
43   die "Missing -aa setting in header\n" if (! $ambacc );
44   $scale *= $ambacc**.25;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines