3dPrinting :
- gestita interruzione degli script.
This commit is contained in:
@@ -2136,7 +2136,7 @@ function CalcPaths.Exec( nPartId)
|
||||
local vLayIds = EgtGetNameInGroup( s_nPartId, SLICE_LAYER.."*")
|
||||
if not vLayIds then
|
||||
EgtOutBox( 'Error no slice', 'PathCalc')
|
||||
return
|
||||
return true
|
||||
end
|
||||
|
||||
-- recupero i parametri per calcolo dei path
|
||||
@@ -2274,9 +2274,11 @@ function CalcPaths.Exec( nPartId)
|
||||
|
||||
if EgtProcessEvents( EgtIf( PRINT, 200, 0) + nIdx / #vLayIds * 100, 0) == 1 then
|
||||
EgtDraw()
|
||||
return
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user