mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
Do not limit text that was not inserted
This commit is contained in:
parent
88fa1ed786
commit
5ddd63e697
@ -266,11 +266,9 @@ void RasterTile::processLineLabels(const QVector<PainterPath> &paths,
|
|||||||
if (img && lbl) {
|
if (img && lbl) {
|
||||||
PathItem *item = new PathItem(path.pp, 0, img, _rect, 0, 0, 0,
|
PathItem *item = new PathItem(path.pp, 0, img, _rect, 0, 0, 0,
|
||||||
rotate);
|
rotate);
|
||||||
if (item->isValid() && !item->collides(textItems)) {
|
if (item->isValid() && !item->collides(textItems))
|
||||||
textItems.append(item);
|
textItems.append(item);
|
||||||
if (limit)
|
else
|
||||||
set.insert(*lbl);
|
|
||||||
} else
|
|
||||||
delete item;
|
delete item;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user