mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-16 00:41:18 -06:00
Fix bugs in scene graph manipulation API
This commit is contained in:
@@ -573,6 +573,7 @@ void OpenSpaceEngine::loadScene(const std::string& scenePath) {
|
||||
_renderEngine->setScene(nullptr);
|
||||
_renderEngine->setCamera(nullptr);
|
||||
_interactionHandler->setCamera(nullptr);
|
||||
_scene->clear();
|
||||
}
|
||||
|
||||
_scene = std::make_unique<Scene>();
|
||||
|
||||
Reference in New Issue
Block a user