Commit 12581f9
taylor.smock
Fix #22606: Images with no exif position or no set position were treated as if they had no position
This is incorrect behavior, since the paint code only cares about the return
value of IImageEntry#getPos, and invalid geoimages should be those that can
not be shown in the mapview.
This also fixes an issue where, when the layer has no images with positions, the
first image would be displayed, but not selected in the data.
git-svn-id: https://josm.openstreetmap.de/svn/trunk@18621 0c6e7542-c601-0410-84e7-c038aed88b3b1 parent 1c25f53 commit 12581f9
File tree
1 file changed
+7
-3
lines changed- src/org/openstreetmap/josm/gui/layer/geoimage
1 file changed
+7
-3
lines changedLines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
202 | 207 | | |
203 | 208 | | |
204 | 209 | | |
| |||
301 | 306 | | |
302 | 307 | | |
303 | 308 | | |
304 | | - | |
305 | | - | |
| 309 | + | |
306 | 310 | | |
307 | 311 | | |
308 | 312 | | |
| |||
0 commit comments