mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Do not check for insane numbers of DEM tiles
This commit is contained in:
parent
d50ab8607e
commit
b938e24d65
@ -57,13 +57,12 @@ bool DEMLoader::loadTiles(const RectC &rect)
|
||||
QUrl url(tileUrl(t));
|
||||
dl.append(Download(url, isZip(url) ? zn : fn));
|
||||
}
|
||||
}
|
||||
|
||||
if (dl.size() > DOWNLOAD_LIMIT) {
|
||||
qWarning("Requested DEM area is too large (%u tiles)",
|
||||
(unsigned)dl.size());
|
||||
qWarning("DEM download limit exceeded.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return _downloader->get(dl, _authorization);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user