Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-08-10 03:10:13 +0300
committerHans Goudey <h.goudey@me.com>2022-08-10 03:10:13 +0300
commit68e2084b0751c7681409844f1c359441c313331e (patch)
treeecbf7e993abcd8dd050d45e6750ed152813a469f
parent90b7c3d05e58543650c4831bbc1f3765b526673b (diff)
parentbdb85bdd9813d0162de775b9f265795da0a3fc67 (diff)
Merge branch 'blender-v3.3-release'
-rw-r--r--source/blender/blenkernel/intern/node.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/node.cc b/source/blender/blenkernel/intern/node.cc
index ba473b29474..86c05d6d085 100644
--- a/source/blender/blenkernel/intern/node.cc
+++ b/source/blender/blenkernel/intern/node.cc
@@ -3047,7 +3047,9 @@ void nodeRemoveNode(Main *bmain, bNodeTree *ntree, bNode *node, bool do_id_user)
}
}
- if (node_has_id) {
+ /* Also update relations for the scene time node, which causes a dependency
+ * on time that users expect to be removed when the node is removed. */
+ if (node_has_id || node->type == GEO_NODE_INPUT_SCENE_TIME) {
if (bmain != nullptr) {
DEG_relations_tag_update(bmain);
}