From 9fc8ce49f5a3e6d9361c8f3d1624aa1c69ccadc1 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 15 Mar 2024 15:00:53 +0100 Subject: [PATCH] Fix #119464: missing update after socket reorder Without the update tag, the tree topology cache is not recomputed. Pull Request: https://projects.blender.org/blender/blender/pulls/119506 --- source/blender/makesrna/intern/rna_nodetree.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/makesrna/intern/rna_nodetree.cc b/source/blender/makesrna/intern/rna_nodetree.cc index 9830176d338..abccdc0776f 100644 --- a/source/blender/makesrna/intern/rna_nodetree.cc +++ b/source/blender/makesrna/intern/rna_nodetree.cc @@ -2391,6 +2391,7 @@ static void rna_Node_inputs_move( } } + BKE_ntree_update_tag_node_property(ntree, node); ED_node_tree_propagate_change(nullptr, bmain, ntree); WM_main_add_notifier(NC_NODE | NA_EDITED, ntree); } @@ -2429,6 +2430,7 @@ static void rna_Node_outputs_move( } } + BKE_ntree_update_tag_node_property(ntree, node); ED_node_tree_propagate_change(nullptr, bmain, ntree); WM_main_add_notifier(NC_NODE | NA_EDITED, ntree); }