From 07df62e3623ff764b275e3080c2afa2bf39cf36b Mon Sep 17 00:00:00 2001 From: David Varley Date: Mon, 14 Sep 2020 12:29:36 +1000 Subject: [PATCH] DXF - Fix single shape rectangle scaling --- sources/createdxf.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/createdxf.cpp b/sources/createdxf.cpp index 98fdd63dd..56d18dbd8 100644 --- a/sources/createdxf.cpp +++ b/sources/createdxf.cpp @@ -675,7 +675,8 @@ void Createdxf::drawRectangle( const QString &filepath, const QRectF &rect, const int &colorcode) { - QPolygonF poly(scaleRect(rect)); + //QPolygonF poly(scaleRect(rect)); + QPolygonF poly(rect); drawPolyline(filepath,poly,colorcode); }