Merge pull request #6978 from sliptonic/bug/ghostpath
zero out Job.Path property if it exists
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user