Fixed a bug causing floating point errors on various editing tasks.
This commit is contained in:
parent
4d31a7c21a
commit
3945eca85e
@ -5,6 +5,7 @@ B1116907 Values Editing events
|
||||
+ FR1183940 Added triangle rotation functions in the editors popup menu.
|
||||
+ Added gradient drawing in a tooltip form in the gradient browser window.
|
||||
+ Editor window now has controls for precise moving and rotating triangles.
|
||||
Fixed a bug causing floating point errors on big unzooming and other editing tasks.
|
||||
|
||||
2.02g
|
||||
+ Delphi2005 Project
|
||||
|
@ -404,8 +404,11 @@ begin
|
||||
if FStop then
|
||||
Exit;
|
||||
|
||||
if (i and $F = 0) then
|
||||
Progress(i / nrbatches);
|
||||
if ((i and $F) = 0) then
|
||||
if nrbatches > 0 then
|
||||
Progress(i / nrbatches)
|
||||
else
|
||||
Progress(0);
|
||||
|
||||
// generate points
|
||||
{$IFDEF TESTVARIANT}
|
||||
|
Loading…
Reference in New Issue
Block a user