diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-04-08 00:56:07 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-04-08 00:56:07 +0300 |
commit | 9d0f4520768fdf9689a05cf2640f097972aa68a3 (patch) | |
tree | b4301ce5bed44d2430d8e10846dbaa27b79fd4b8 /source/blender | |
parent | a2243f1b5178fde2a49e5536b674cae57c096659 (diff) |
Fix missed depsgraph update after undo in some cases
Forgot to take into account legacy DEG_id_tag_update with zero flag.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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( |