3dPrinting :

- modifiche progress bar.
This commit is contained in:
SaraP
2022-10-03 16:08:25 +02:00
parent 5e65055e86
commit a94474869c
6 changed files with 24 additions and 20 deletions
+4 -4
View File
@@ -258,9 +258,9 @@ function RunCalcSolids.Exec()
-- processo gli eventi
if ( nIdx % 20) == 0 then
EgtDraw()
if EgtProcessEvents( nIdx / #vLayIds * 100, 0) == 1 then
return
end
-- if EgtProcessEvents( nIdx / #vLayIds * 100, 0) == 1 then
-- return
-- end
end
end
@@ -268,7 +268,7 @@ function RunCalcSolids.Exec()
nCrvGrpId = EgtGetNextName( nCrvGrpId, CONTOUR_GRP.."*") or GDB_ID.NULL
end
EgtDraw()
if EgtProcessEvents( EgtIf( PRINT, 300, 0) + nIdx / #vLayIds * 100, 0) == 1 then
if EgtProcessEvents( EgtIf( PRINT, 400, 0) + nIdx / #vLayIds * 100, 0) == 1 then
return
end
end