[path] Set ToolController before calling setup in PathDressupHoldingTags

This commit is contained in:
Sabin Iacob
2017-04-18 22:37:17 +03:00
committed by Yorik van Havre
parent 9df156472a
commit afd6057def

View File

@@ -1434,7 +1434,6 @@ class CommandPathDressupHoldingTags:
FreeCADGui.doCommand('Gui.ActiveDocument.getObject(obj.Base.Name).Visibility = False')
FreeCADGui.doCommand('obj.ToolController = PathScripts.PathUtils.findToolController(obj)')
FreeCADGui.doCommand('dbo.setup(obj, True)')
FreeCADGui.doCommand('obj.ToolController = PathScripts.PathUtils.findToolController(obj)')
FreeCAD.ActiveDocument.commitTransaction()
FreeCAD.ActiveDocument.recompute()