1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 13:41:16 +01:00

Enable DEM fetching for a single point

This commit is contained in:
Martin Tůma 2021-09-21 22:07:22 +02:00
parent d7dc185ecf
commit 45dbb105c5

View File

@ -10,7 +10,7 @@ static QList<DEM::Tile> tiles(const RectC &rect)
{ {
QList<DEM::Tile> list; QList<DEM::Tile> list;
if (!rect.isValid()) if (rect.isNull())
return list; return list;
for (int i = qFloor(rect.top()); i >= qFloor(rect.bottom()); i--) for (int i = qFloor(rect.top()); i >= qFloor(rect.bottom()); i--)