From 9d0f4520768fdf9689a05cf2640f097972aa68a3 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 7 Apr 2020 23:56:07 +0200 Subject: Fix missed depsgraph update after undo in some cases Forgot to take into account legacy DEG_id_tag_update with zero flag. --- source/blender/depsgraph/intern/depsgraph_tag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/depsgraph') diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index aa9ce28850c..627a93b5869 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -625,7 +625,7 @@ void id_tag_update(Main *bmain, ID *id, int flag, eUpdateSource update_source) /* Accumulate all tags for an ID between two undo steps, so they can be * replayed for undo. */ - id->recalc_undo_accumulated |= flag; + id->recalc_undo_accumulated |= deg_recalc_flags_effective(NULL, flag); } void graph_id_tag_update( -- cgit v1.2.3