mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-11 15:58:45 -05:00
Fixed bug that causes crash if Focus node wasn't found
This commit is contained in:
Submodule ext/ghoul updated: e84d7baf27...d613e766c1
@@ -326,6 +326,7 @@ bool SceneGraph::loadSceneInternal(const std::string& sceneDescriptionFilePath)
|
||||
_root->setName(SceneGraphNode::RootNodeName);
|
||||
_nodes.push_back(_root);
|
||||
_allNodes.emplace(SceneGraphNode::RootNodeName, _root);
|
||||
_focus = SceneGraphNode::RootNodeName;
|
||||
|
||||
Dictionary dictionary;
|
||||
//load default.scene
|
||||
|
||||
Reference in New Issue
Block a user