Skip to content

Commit

Permalink
Add post layer open clause
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Apr 1, 2024
1 parent ffa6863 commit cd98f95
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/osgEarth/ImageLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,13 @@ ImageLayer::openImplementation()
}
}

for (auto layer : _postLayers)
{
Status s = layer->open(getReadOptions());
if (s.isError())
return s;
}

return Status::NoError;
}

Expand Down

0 comments on commit cd98f95

Please sign in to comment.