From 6fa7be60e4f79d7fdf1ff12863edcc61b11e1c38 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 14 Apr 2018 16:47:11 +0300 Subject: [PATCH] Fix export to DXF-AAMA. Don't "draw" a main path if seam allowance is built-in. --HG-- branch : develop --- src/libs/vdxf/vdxfengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vdxf/vdxfengine.cpp b/src/libs/vdxf/vdxfengine.cpp index 0106d8632..306e63684 100644 --- a/src/libs/vdxf/vdxfengine.cpp +++ b/src/libs/vdxf/vdxfengine.cpp @@ -677,7 +677,7 @@ void VDxfEngine::ExportAAMAOutline(dx_ifaceBlock *detailBlock, const VLayoutPiec //--------------------------------------------------------------------------------------------------------------------- void VDxfEngine::ExportAAMADraw(dx_ifaceBlock *detailBlock, const VLayoutPiece &detail) { - if (not detail.IsHideMainPath()) + if (not detail.IsHideMainPath() && not detail.IsSeamAllowanceBuiltIn()) { QVector poly = detail.GetContourPoints(); if (DRW_Entity *e = AAMAPolygon(poly, QChar('8'), true))