Merge pull request #6978 from sliptonic/bug/ghostpath

zero out Job.Path property if it exists
This commit is contained in:
sliptonic
2022-06-06 11:43:13 -05:00
committed by GitHub

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",