Skip to content

Commit

Permalink
Removed forgotten debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Jun 12, 2024
1 parent d3a3734 commit 5e29c12
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/map/ENC/rastertile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ void RasterTile::processPoints(QList<MapData::Point> &points,
{
PointSet lightsSet, signalsSet;
int i;
QSet<uint> set;

std::sort(points.begin(), points.end());

Expand Down Expand Up @@ -295,10 +294,8 @@ void RasterTile::processPoints(QList<MapData::Point> &points,
? &style.haloColor() : 0;
double rotate = angle(point.type(), point.param());

if ((!label || !fnt) && !img) {
set.insert(point.type());
if ((!label || !fnt) && !img)
continue;
}

QPoint offset = img ? style.offset() : QPoint(0, 0);

Expand All @@ -315,9 +312,6 @@ void RasterTile::processPoints(QList<MapData::Point> &points,
} else
delete item;
}

for (auto i = set.cbegin(), end = set.cend(); i != end; ++i)
qDebug() << (*i>>16) << (*i & 0xFFFF);
}

void RasterTile::processLines(const QList<MapData::Line> &lines,
Expand Down

0 comments on commit 5e29c12

Please sign in to comment.