Nella OrderFeature non si considerano più le dipendenze, veniva già fatto tutto nella ReorderFeatureWithDependency

This commit is contained in:
andrea.villa
2026-03-04 17:32:36 +01:00
parent 261ce7992d
commit f6316cc75a
-7
View File
@@ -949,13 +949,6 @@ local function OrderFeatures( vProc, b3Raw, nPartId)
if Hcut.Identify( B2) then if Hcut.Identify( B2) then
return false return false
end end
-- se uno dipende dall'altro
if B1.Dependency and B1.Dependency.ExecBefore and B1.Dependency.ExecBefore.Id == B2.Id then
return true
end
if B2.Dependency and B2.Dependency.ExecBefore and B2.Dependency.ExecBefore.Id == B1.Id then
return false
end
-- se uno di testa e non l'altro, privilegio quello di testa (a meno che non siano dei fori) -- se uno di testa e non l'altro, privilegio quello di testa (a meno che non siano dei fori)
if B1.Head ~= B2.Head and not Drill.Identify(B1) and not Drill.Identify(B2) then if B1.Head ~= B2.Head and not Drill.Identify(B1) and not Drill.Identify(B2) then
return B1.Head return B1.Head