From 822943b1aacd706f58aa33dd59cbb08290705264 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 16 Oct 2020 12:40:09 +0200 Subject: [PATCH] Arch: Fixed backwards compatibility issues --- src/Mod/Arch/ArchSectionPlane.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Arch/ArchSectionPlane.py b/src/Mod/Arch/ArchSectionPlane.py index a75999cf1b..8cfd49b5de 100644 --- a/src/Mod/Arch/ArchSectionPlane.py +++ b/src/Mod/Arch/ArchSectionPlane.py @@ -368,14 +368,14 @@ def getSVG(source, for o in objs: if Draft.getType(o) == "Space": spaces.append(o) - elif Draft.getType(o) in ["AngularDimension","LinearDimension","Annotation","Label","Text", "DraftText"]: + elif Draft.getType(o) in ["Dimension","AngularDimension","LinearDimension","Annotation","Label","Text", "DraftText"]: if isOriented(o,cutplane): drafts.append(o) elif o.isDerivedFrom("Part::Part2DObject"): drafts.append(o) elif looksLikeDraft(o): drafts.append(o) - else: + elif not o.isDerivedFrom("App::DocumentObjectGroup"): nonspaces.append(o) if Draft.getType(o) == "Window": windows.append(o)