diff options
author | Jacques Lucke <jacques@blender.org> | 2022-08-31 19:34:53 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-08-31 19:35:07 +0300 |
commit | e6557785edc65c7a58568437e19a56489d06bd72 (patch) | |
tree | b97c35dd52db3ae575ff84531c242c49dc581613 /source | |
parent | 0a4249561cf0545ce0d46e547ee2760f57948db6 (diff) |
Fix: crash on undo due to missing node declaration
This was broken in {rB25e307d725d0b924fb0e87e4ffde84f915b74310}.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/node_tree_update.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/node_tree_update.cc b/source/blender/blenkernel/intern/node_tree_update.cc index a9097bcb94a..929d20a3b07 100644 --- a/source/blender/blenkernel/intern/node_tree_update.cc +++ b/source/blender/blenkernel/intern/node_tree_update.cc @@ -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) { |