Skip to content

Commit

Permalink
Fix an error in GeoImage resulting from the Future API normalization,…
Browse files Browse the repository at this point in the history
… thanks Dan
  • Loading branch information
gwaldron committed Nov 8, 2023
1 parent b649fad commit 2b1d2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osgEarth/GeoData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,7 @@ GeoImage::valid() const
const osg::Image*
GeoImage::getImage() const
{
return _future.isSet() && _future->empty() ?
return _future.isSet() && _future->available() ?
_future->join().get() :
_myimage.get();
}
Expand Down

0 comments on commit 2b1d2fe

Please sign in to comment.