Unverified Commit ce15978a authored by David Hoese's avatar David Hoese Committed by GitHub
Browse files

Merge pull request #317 from djhoese/bugfix-image-mesh-check

Fix validity check of reprojected mesh in TiledGelocatedImageVisual
parents 58099faa 4a4b222a
......@@ -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