Merge remote-tracking branch 'origin/master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / anim_sys.c
index bfdbb510091924e85727a92e415d1305990276f3..2a1132df425483613056cb4e87a784ee0a233e78 100644 (file)
@@ -1650,7 +1650,7 @@ static bool animsys_write_rna_setting(PathResolvedRNA *anim_rna, const float val
                /* for cases like duplifarmes it's only a temporary so don't
                 * notify anyone of updates */
                if (!(id->tag & LIB_TAG_ANIM_NO_RECALC)) {
-                       id->tag |= LIB_TAG_ID_RECALC;
+                       BKE_id_tag_set_atomic(id, LIB_TAG_ID_RECALC);
                        DAG_id_type_tag(G.main, GS(id->name));
                }
        }