mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
DXF - remove a couple of debug messages
This commit is contained in:
@@ -986,12 +986,10 @@ void Createdxf::drawPolygon(
|
|||||||
const QPolygonF &poly,
|
const QPolygonF &poly,
|
||||||
const int &colorcode)
|
const int &colorcode)
|
||||||
{
|
{
|
||||||
qDebug() << "PolygonIsClosed: " << poly.isClosed();
|
|
||||||
QPolygonF pg = poly;
|
QPolygonF pg = poly;
|
||||||
if(!poly.isClosed()) {
|
if(!poly.isClosed()) {
|
||||||
pg << poly.at(0);
|
pg << poly.at(0); // Close it
|
||||||
}
|
}
|
||||||
qDebug() << "PolygonIsClosed: " << poly.isClosed();
|
|
||||||
drawPolyline(filepath,pg,colorcode);
|
drawPolyline(filepath,pg,colorcode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user