From 45dbb105c5f95fbc6e1a14a0dd912eba05e7c15a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 21 Sep 2021 22:07:22 +0200 Subject: [PATCH] Enable DEM fetching for a single point --- src/data/demloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/demloader.cpp b/src/data/demloader.cpp index 8a7bb719..019ce7a0 100644 --- a/src/data/demloader.cpp +++ b/src/data/demloader.cpp @@ -10,7 +10,7 @@ static QList tiles(const RectC &rect) { QList list; - if (!rect.isValid()) + if (rect.isNull()) return list; for (int i = qFloor(rect.top()); i >= qFloor(rect.bottom()); i--)