From 8b061cecc269c4ae0fb2637cf2a580d8a696a969 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 16 Jul 2021 12:42:30 +0200 Subject: [PATCH] Draft: Fixed wrong placement of lines in shape2dview's cutface mode --- src/Mod/Draft/draftobjects/shape2dview.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Draft/draftobjects/shape2dview.py b/src/Mod/Draft/draftobjects/shape2dview.py index 96a2cd10e4..279e8d338a 100644 --- a/src/Mod/Draft/draftobjects/shape2dview.py +++ b/src/Mod/Draft/draftobjects/shape2dview.py @@ -292,11 +292,11 @@ class Shape2DView(DraftObject): if sh.Volume < 0: sh.reverse() c = sh.section(cutp) + if hasattr(obj,"InPlace"): + if not obj.InPlace: + c = self.getProjected(obj, c, proj) faces = [] if (obj.ProjectionMode == "Cutfaces") and (sh.ShapeType == "Solid"): - if hasattr(obj,"InPlace"): - if not obj.InPlace: - c = self.getProjected(obj, c, proj) wires = DraftGeomUtils.findWires(c.Edges) for w in wires: if w.isClosed():