Trimming 3.1h2 :

- spostate le costanti in EgtConst nella tabella MCH_TRIMMING.
This commit is contained in:
Daniele Bariletti
2026-08-26 12:12:39 +02:00
parent 05031aa6b9
commit 551dd86eaa
19 changed files with 268 additions and 269 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ local vIdToErase = {}
nId = EgtGetFirstInGroup( nTrimmingLayer)
while nId do
local sName = EgtGetName( nId)
if sName ~= SELECTION_SURF_NAME then table.insert( vIdToErase, nId)
if sName ~= MCH_TRIMMING.SELECTION_SURF_NAME then table.insert( vIdToErase, nId)
else EgtSetStatus( nId, GDB_ST.ON) end
nId = EgtGetNext( nId)
end
@@ -54,7 +54,7 @@ local nLayerOriEnditId = GlobVar.GetCurrentEditOrientationCurvesLayer( nCurrPart
if nLayerOriEnditId ~= nil and nLayerOriEnditId ~= GDB_ID.NULL then EgtErase( nLayerOriEnditId) end
-- Recupero l'ultima(le ultime) Supercicie(i) aggiunta(e) e la(e) elimino
local vLastSurfIds = EgtGetInfo( nTrimmingLayer, KEY_SELECTION_LAST_IDS, 'vi')
local vLastSurfIds = EgtGetInfo( nTrimmingLayer, MCH_TRIMMING.KEY_SELECTION_LAST_IDS, 'vi')
if vLastSurfIds ~= nil and #vLastSurfIds ~= 0 then EgtErase( vLastSurfIds) end
-- Aggiorno la grafica