nodes/patterns: Fixed crashes when recursion occurred

This commit is contained in:
WerWolv
2021-03-07 13:20:33 +01:00
parent d4265f16eb
commit 8423f78586
6 changed files with 45 additions and 0 deletions

View File

@@ -117,6 +117,10 @@ namespace hex {
try {
for (auto &endNode : this->m_endNodes) {
endNode->resetOutputData();
for (auto &node : this->m_nodes)
node->resetProcessedInputs();
endNode->process();
}
} catch (dp::Node::NodeError &e) {