Skip to content
Snippets Groups Projects
Commit 73fa6d76 authored by Mathias Paulin's avatar Mathias Paulin :speech_balloon:
Browse files

[librender] add forgotten connection operations when opening graph editor

parent 60702179
Branches
No related tags found
No related merge requests found
......@@ -140,6 +140,7 @@ buildNodeGraphControllerGui( NodeBasedRenderer* renderer,
{
std::cerr << "Loading nodegraph " << renderer->getJsonFilePath()
<< " in the editor." << std::endl;
nodeEditor->disconnectAll();
nodeEditor->scene->clearScene();
renderer->getRenderGraph()->clearNodes();
QByteArray wholeFile = file.readAll();
......@@ -150,6 +151,7 @@ buildNodeGraphControllerGui( NodeBasedRenderer* renderer,
" - " +
renderer->getJsonFilePath() )
.c_str() );
nodeEditor->connectAll();
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment