Trimming 3.1h2 :
- spostate le costanti in EgtConst nella tabella MCH_TRIMMING.
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user