Fix: crash on undo due to missing node declaration

This was broken in {rB25e307d725d0b924fb0e87e4ffde84f915b74310}.
This commit is contained in:
Jacques Lucke 2022-08-31 18:34:53 +02:00
parent 0a4249561c
commit e6557785ed
1 changed files with 1 additions and 0 deletions

View File

@ -1048,6 +1048,7 @@ class NodeTreeMainUpdater {
void update_individual_nodes(bNodeTree &ntree)
{
LISTBASE_FOREACH (bNode *, node, &ntree.nodes) {
nodeDeclarationEnsure(&ntree, node);
if (this->should_update_individual_node(ntree, *node)) {
bNodeType &ntype = *node->typeinfo;
if (ntype.group_update_func) {