From bc72303d66d6be18d34b4ede85fb682ae2e78292 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Sat, 29 Sep 2018 19:18:47 -0700 Subject: [PATCH] Fixed support for objects in the tree without a Proxy --- src/Mod/Path/PathScripts/PathUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathUtils.py b/src/Mod/Path/PathScripts/PathUtils.py index 3f6a1bbf0a..c9ebf0f960 100644 --- a/src/Mod/Path/PathScripts/PathUtils.py +++ b/src/Mod/Path/PathScripts/PathUtils.py @@ -465,7 +465,7 @@ def findParentJob(obj): '''retrieves a parent job object for an operation or other Path object''' PathLog.track() for i in obj.InList: - if isinstance(i.Proxy, PathScripts.PathJob.ObjectJob): + if hasattr(i, 'Proxy') and isinstance(i.Proxy, PathScripts.PathJob.ObjectJob): return i if i.TypeId == "Path::FeaturePython" or i.TypeId == "Path::FeatureCompoundPython": grandParent = findParentJob(i)