Fixed some UI issues and enabled re-ordering of ops.

This commit is contained in:
Markus Lampert
2017-08-25 16:31:07 -07:00
committed by wmayer
parent 2bb83bebb1
commit fd67690fa7
3 changed files with 24 additions and 25 deletions

View File

@@ -103,6 +103,11 @@ class ObjectJob:
FreeCAD.ActiveDocument.removeObject(obj.Operations.Name)
obj.Operations = None
def onChanged(self, obj, prop):
if prop == "PostProcessor" and obj.PostProcessor:
processor = PostProcessor.load(obj.PostProcessor)
self.tooltip = processor.tooltip
self.tooltipArgs = processor.tooltipArgs
def assignTemplate(self, obj, template):
'''assignTemplate(obj, template) ... extract the properties from the given template file and assign to receiver.