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
This commit is contained in:
Jacques Lucke
2024-03-15 15:00:53 +01:00
parent 7ec0ebf30c
commit 9fc8ce49f5
@@ -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);
}