diff options
author | Jacques Lucke <jacques@blender.org> | 2021-12-29 21:40:00 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-12-29 21:40:14 +0300 |
commit | bb0da7dbbd4b210fce8c15714a3cb50a756d8075 (patch) | |
tree | 4c549a0147cf33d429b4e1bcd35275ee1bc632da /source/blender/makesrna/intern/rna_nodetree.c | |
parent | 5e8b42bf865848e384d3b942002faf02fe70bd16 (diff) |
Fix (unreported): missing relations update after adding scene time node
This just moves the relations update to a lower level function that is used
by other functions. Eventually, the special case for this node should be
generalized.
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 7bca07ad058..f6751117d55 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -1273,10 +1273,6 @@ static bNode *rna_NodeTree_node_new(bNodeTree *ntree, ED_node_tree_propagate_change(C, bmain, ntree); WM_main_add_notifier(NC_NODE | NA_EDITED, ntree); - if (node->type == GEO_NODE_INPUT_SCENE_TIME) { - DEG_relations_tag_update(bmain); - } - return node; } |