Fixed a bug causing floating point errors on various editing tasks.
This commit is contained in:
@ -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}
|
||||
|
Reference in New Issue
Block a user