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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user