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.72 by greg, Fri Oct 14 00:54:22 2016 UTC vs.
Revision 2.73 by greg, Tue Jan 31 23:13:17 2017 UTC

# Line 249 | Line 249 | if ( !defined $recovery ) {
249          }
250          print STDERR "Recover using: $0 -recover $td\n";
251   }
252 # Open unbuffered progress file
253 open(MYPH, ">> $td/phase.txt");
254 {
255        my $ofh = select MYPH;
256        $| = 1;
257        select $ofh;
258 }
252   $curphase = 0;
253   # Create data segments (all the work happens here)
254   if ( $tensortree ) {
# Line 279 | Line 272 | sub do_phase {
272                  if ( $recovery > $curphase ) { return 0; }
273                  if ( $recovery == $curphase ) { return -1; }
274          }
275 +        open(MYPH, ">> $td/phase.txt");
276          print MYPH "$curphase\n";
277 +        close MYPH;
278          return 1;
279   }
280  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines