VOXEDIT: use nodeActive to select the first volume node in the graph

master
Martin Gerhardy 2022-03-30 20:26:13 +02:00
parent c6473b9b5b
commit 576a381c11
1 changed files with 1 additions and 1 deletions

View File

@ -702,7 +702,7 @@ void SceneManager::resetSceneState() {
_animationNodeIdDirtyState = -1;
_animationIdx = 0;
voxelformat::SceneGraphNode &node = *_sceneGraph.begin();
_sceneGraph.setActiveNode(node.id());
nodeActivate(node.id());
setEditMode(EditMode::Scene);
_mementoHandler.clearStates();
Log::debug("New volume for node %i", node.id());