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

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(