Added full unit test to make sure tool chain works correctly.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user