mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-15 08:21:23 -06:00
Make imGUI listen to OpenSpaceEngine properties for visibility for properties and for scene graph nodes
This commit is contained in:
@@ -1619,6 +1619,14 @@ void OpenSpaceEngine::decode(std::vector<std::byte> data) {
|
||||
global::syncEngine->decodeSyncables(std::move(data));
|
||||
}
|
||||
|
||||
properties::Property::Visibility openspace::OpenSpaceEngine::visibility() const {
|
||||
return static_cast<properties::Property::Visibility>(_visibility.value());
|
||||
}
|
||||
|
||||
bool openspace::OpenSpaceEngine::showHiddenSceneGraphNodes() const {
|
||||
return _showHiddenSceneGraphNodes;
|
||||
}
|
||||
|
||||
void OpenSpaceEngine::toggleShutdownMode() {
|
||||
if (_shutdown.inShutdown) {
|
||||
// If we are already in shutdown mode, we want to disable it
|
||||
|
||||
Reference in New Issue
Block a user