Replaced Tooltable with Tool in the TC;

Added PropertyTool;
Fixed sanity check.
This commit is contained in:
Markus Lampert
2017-06-04 22:04:42 -07:00
parent 7d39669948
commit c4cb45c1b4
8 changed files with 221 additions and 44 deletions

View File

@@ -554,8 +554,7 @@ class EditorPanel():
PathScripts.PathLoadTool._ViewProviderLoadTool(obj.ViewObject)
PathUtils.addToJob(obj, targetlist)
FreeCAD.activeDocument().recompute()
newtool = tool.copy()
obj.Tooltable.setTool(int(toolnum), newtool)
obj.Tool = tool.copy()
obj.ToolNumber = int(toolnum)
#obj.recompute()
FreeCAD.ActiveDocument.recompute()