mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-28 03:19:59 +01:00
added a second user-collection
This commit is contained in:
@@ -970,10 +970,12 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user