mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Optimization
This commit is contained in:
parent
c1f36e5fbb
commit
0e9720f68b
@ -421,7 +421,7 @@ void IMGMap::processShields(QList<IMG::Poly> &lines, const QRect &tileRect,
|
||||
= shields.constBegin(); it != shields.constEnd(); ++it) {
|
||||
const QPolygonF &p = it.value();
|
||||
QRectF rect(p.boundingRect() & tileRect);
|
||||
if (qSqrt(AREA(rect)) < qSqrt(AREA(tileRect)) / 8)
|
||||
if (qSqrt(AREA(rect)) < 32)
|
||||
continue;
|
||||
|
||||
QMap<qreal, int> map;
|
||||
|
Loading…
Reference in New Issue
Block a user