Fix missed depsgraph update after undo in some cases

Forgot to take into account legacy DEG_id_tag_update with zero flag.
This commit is contained in:
Brecht Van Lommel 2020-04-07 23:56:07 +02:00
parent a2243f1b51
commit 9d0f452076
Notes: blender-bot 2023-02-14 00:44:02 +01:00
Referenced by issue #75509, Glowing Alpha Shading
1 changed files with 1 additions and 1 deletions

View File

@ -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(