Tagli testa e coda si riconoscono da topologia e non più da Prc=340/350
This commit is contained in:
@@ -6,22 +6,16 @@
|
||||
local Identity = {}
|
||||
|
||||
---------------------------------------------------------------------
|
||||
------------------------ EGALWARE FEATURES ------------------------
|
||||
------------------------ SPECIAL TOPOLOGY -------------------------
|
||||
---------------------------------------------------------------------
|
||||
-- Feature : Head Cut
|
||||
function Identity.IsHeadCut( Proc)
|
||||
local bIdentity = ( Proc.nGrp == 1 and Proc.nPrc == 340)
|
||||
local idPrc = 340
|
||||
local idGrp = 1
|
||||
return bIdentity, idPrc, idGrp
|
||||
return Identity.IsCut( Proc) and Proc.Topology.sName == 'HeadCut'
|
||||
end
|
||||
---------------------------------------------------------------------
|
||||
-- Feature : Tail Cut
|
||||
function Identity.IsTailCut( Proc)
|
||||
local bIdentity = ( Proc.nGrp == 2 and Proc.nPrc == 350)
|
||||
local idPrc = 350
|
||||
local idGrp = 2
|
||||
return bIdentity, idPrc, idGrp
|
||||
return Identity.IsCut( Proc) and Proc.Topology.sName == 'TailCut'
|
||||
end
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user