Depsgraph: Fix assignment to wrong flags

This commit is contained in:
Sergey Sharybin
2017-12-15 14:42:42 +01:00
parent 0b5616aef1
commit 2b25d8ea30

View File

@@ -205,7 +205,7 @@ BLI_INLINE void flush_editors_id_update(Main *bmain,
* This is because DEG_id_tag_update() sets tags on original
* data.
*/
id_cow->tag |= (id_orig->recalc & ID_RECALC_ALL);
id_cow->recalc |= (id_orig->recalc & ID_RECALC_ALL);
if (deg_copy_on_write_is_expanded(id_cow)) {
deg_editors_id_update(update_ctx, id_cow);
}