reverted some unwanted changes

This commit is contained in:
plc-user
2023-12-09 13:50:03 +01:00
parent 72092300ed
commit 74d022328e
5 changed files with 7 additions and 21 deletions

View File

@@ -970,12 +970,10 @@ bool QetShapeItem::toDXF(const QString &filepath,const QPen &pen)
Createdxf::dxfColor(pen));
return true;
case Polygon:
if(m_polygon.isClosed()) {
if(m_polygon.isClosed())
Createdxf::drawPolygon(filepath,m_polygon,Createdxf::dxfColor(pen));
}
else {
else
Createdxf::drawPolyline(filepath,m_polygon,Createdxf::dxfColor(pen));
}
return true;
default:
return false;