Verified Commit 4a4b222a authored by Nicolai Kellerer's avatar Nicolai Kellerer Committed by David Hoese
Browse files

Fix validity check of reprojected mesh in TiledGelocatedImageVisual

Due to a copy/paste bug the x-axis was checked twice whereas the y-axis
was ignored.
parent 561a49f2
......@@ -390,7 +390,7 @@ class SIFTTiledGeolocatedMixin:
# The image mesh of only valid "viewable" projected coordinates
img_vbox = self.calc.image_mesh[valid_mask]
if not img_cmesh[:, 0].size or not img_cmesh[:, 0].size:
if not img_cmesh[:, 0].size or not img_cmesh[:, 1].size:
self._viewable_mesh_mask = None
self._ref1, self._ref2 = None, None
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment