zero out Job.Path property if it exists

This commit is contained in:
sliptonic
2022-05-02 09:16:05 -05:00
parent ebcf32e41e
commit 956f0abf90

View File

@@ -492,6 +492,9 @@ class ObjectJob:
obj.setEditorMode("Operations", 2) # hide
obj.setEditorMode("Placement", 2)
if hasattr(obj, "Path"):
obj.Path = Path.Path()
if not hasattr(obj, "CycleTime"):
obj.addProperty(
"App::PropertyString",