gwaldron / osgearth

3D Maps for OpenSceneGraph / C++14
https://www.pelicanmapping.com/home-1/opensource
Other
1.48k stars 774 forks source link

Sky GUI: Window No Longer Always Visible #2452

Closed emminizer closed 6 months ago

emminizer commented 6 months ago

ImGui Environment window is no longer always shown, and now respects the window Close button. This was introduced on 10-23 in 2c78d941 in a fix that lets users install the sky if it isn't installed yet.

I made sure that you can still actually install the sky using the GUI if it wasn't yet installed.

Without this change, the Environment Sky GUI pops up in at start-up of several SIMDIS SDK examples where there are sky nodes. Pressing the "X" button in the top-right doesn't do anything. This change fixes that problem.