Added full unit test to make sure tool chain works correctly.

This commit is contained in:
Markus Lampert
2017-08-22 11:12:02 -07:00
parent f2483f2ff0
commit e0ebe92d1c
5 changed files with 100 additions and 26 deletions

View File

@@ -236,7 +236,7 @@ class CommandPathToolController:
obj = FreeCAD.ActiveDocument.addObject("Path::FeaturePython", "Default Tool")
PathScripts.PathToolController.ToolController(obj)
if assignViewProvider:
if FreeCAD.GuiUp and assignViewProvider:
PathScripts.PathToolController._ViewProviderToolController(obj.ViewObject)
if tool is None: