Draft: Fixed wrong placement of lines in shape2dview's cutface mode

This commit is contained in:
Yorik van Havre
2021-07-16 12:42:30 +02:00
parent 4869e040f8
commit 8b061cecc2

View File

@@ -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():