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) {
|
||||
PathItem *item = new PathItem(path.pp, 0, img, _rect, 0, 0, 0,
|
||||
rotate);
|
||||
if (item->isValid() && !item->collides(textItems)) {
|
||||
if (item->isValid() && !item->collides(textItems))
|
||||
textItems.append(item);
|
||||
if (limit)
|
||||
set.insert(*lbl);
|
||||
} else
|
||||
else
|
||||
delete item;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user