Changeset 1506


Ignore:
Timestamp:
1/12/2010 6:08:43 AM (5 years ago)
Author:
lowjoel
Message:

Tolerate some margin of error when checking the total weights in the SteppedProgressManager?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/SpeedMeter/Eraser.Manager/ProgressManager.cs

    r1505 r1506  
    374374                private set 
    375375                { 
    376                     if (value > 1.0f || value < 0.0f) 
     376                    if (value >= 1.1f || value < 0.0f) 
    377377                        throw new ArgumentOutOfRangeException("The total weights of all steps in " + 
    378378                            "the task must be within the range [0.0, 1.0]"); 
Note: See TracChangeset for help on using the changeset viewer.