Skip to content

Commit

Permalink
[path] Set ToolController before calling setup in PathDressupHoldingTags
Browse files Browse the repository at this point in the history
  • Loading branch information
m0n5t3r authored and yorikvanhavre committed Apr 23, 2017
1 parent 9df1564 commit afd6057
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Mod/Path/PathScripts/PathDressupHoldingTags.py
Expand Up @@ -1434,7 +1434,6 @@ def Activated(self):
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()

Expand Down

0 comments on commit afd6057

Please sign in to comment.