From 956f0abf90ae0fe73cb8080df5edc51a8a020b85 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Mon, 2 May 2022 09:16:05 -0500 Subject: [PATCH] zero out Job.Path property if it exists --- src/Mod/Path/PathScripts/PathJob.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Path/PathScripts/PathJob.py b/src/Mod/Path/PathScripts/PathJob.py index 089116edb7..f5f134ab15 100644 --- a/src/Mod/Path/PathScripts/PathJob.py +++ b/src/Mod/Path/PathScripts/PathJob.py @@ -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",