Fix T96054: Switching vertex group does not update display
Caused by 0f89bcdbeb
and was not fully addressed by 6f9828289f39:
tagging an ID with flag 0 is to be seen as an explicit tag for copy
on write.
Would be nice to either consolidate code paths of flag 0 and explicit
component tag, or get rid of tagging with 0 flag, but that is above of
what we can do for the upcoming release.
This commit is contained in:
parent
cb736d2f03
commit
6bbf63f251
Notes:
blender-bot
2023-02-14 08:42:53 +01:00
Referenced by issue #96054, newly selected vertex group with lattices don't display weights in edit mode.
|
@ -499,6 +499,10 @@ void deg_graph_node_tag_zero(Main *bmain,
|
|||
if (comp_node->type == NodeType::ANIMATION) {
|
||||
continue;
|
||||
}
|
||||
else if (comp_node->type == NodeType::COPY_ON_WRITE) {
|
||||
id_node->is_cow_explicitly_tagged = true;
|
||||
}
|
||||
|
||||
comp_node->tag_update(graph, update_source);
|
||||
}
|
||||
deg_graph_id_tag_legacy_compat(bmain, graph, id, (IDRecalcFlag)0, update_source);
|
||||
|
|
Loading…
Reference in New Issue