diff --git a/LuaLibs/VisionCutOut.lua b/LuaLibs/VisionCutOut.lua index e1ee17b..e24ea3f 100644 --- a/LuaLibs/VisionCutOut.lua +++ b/LuaLibs/VisionCutOut.lua @@ -1412,7 +1412,19 @@ function VisionCutOut.Draw( tVisPar, bPreview, bRunByCompo, nDrawMach) EgtErase( hint_ofs) end end - + + if MId then + EgtModifyCurveThickness( MId, -T) + EgtInvertCurve( MId) + + if bl then + EgtSetName( MId, LBM) + EgtSetInfo( MId, 'ByBlade', bl) + else + EgtSetName( MId, LM) + end + end + -- eventuale antischeggia per split (validi se rotazione utensile di split oraria) if split and T2 and LA then local bHoriz = ( dir ~= '0') @@ -1441,17 +1453,6 @@ function VisionCutOut.Draw( tVisPar, bPreview, bRunByCompo, nDrawMach) EgtSetName( As2Id, LA) end - if MId then - EgtModifyCurveThickness( MId, -T) - EgtInvertCurve( MId) - - if bl then - EgtSetName( MId, LBM) - EgtSetInfo( MId, 'ByBlade', bl) - else - EgtSetName( MId, LM) - end - end elseif split == nil then EC = (ErrorBase+5) EM = EgtDoorsMsg[408] -- mancano i parametri delle dimensioni