Fix bugs in scene graph manipulation API

This commit is contained in:
Emil Axelsson
2017-07-07 13:33:29 +02:00
parent 58a423fc56
commit 15dc2c3441
8 changed files with 178 additions and 123 deletions

View File

@@ -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>();