Changeset 4247


Ignore:
Timestamp:
07/23/08 16:35:38 (11 years ago)
Author:
nor
Message:

Modification to progress bar - when it enters first pass iteration, current
progress is now zeroed out, and max progress is modified

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/slim/BurnInRenderer.java

    r4246 r4247  
    146146        currentX = 0; 
    147147        currentY = 0; 
     148        maxProgress = maxDim * maxDim; 
    148149      } 
    149150      for(; currentX < maxDim || !alive; currentX++) { 
    150151        for(; currentY < maxDim || !alive; currentY++) { 
    151152          currentIterations = 0; 
     153          currProgress = (currentX * maxDim) + currentY; 
    152154          while(currentIterations < maxIterations) { 
    153155            //System.out.println("x: " + currentX + " y: " + currentY + " iter: " + currentIterations); 
Note: See TracChangeset for help on using the changeset viewer.