Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / mask.c
index eaa2f89ab8248a06bac4bbf58532cd8c8a8bdb6f..92dee5b55d48876719c37f9bddaf44e1d181f5e2 100644 (file)
@@ -1464,7 +1464,7 @@ void BKE_mask_update_scene(Main *bmain, Scene *scene)
        Mask *mask;
 
        for (mask = bmain->mask.first; mask; mask = mask->id.next) {
-               if (mask->id.tag & (LIB_TAG_ID_RECALC | LIB_TAG_ID_RECALC_DATA)) {
+               if (mask->id.tag & LIB_TAG_ID_RECALC_ALL) {
                        bool do_new_frame = (mask->id.tag & LIB_TAG_ID_RECALC_DATA) != 0;
                        BKE_mask_evaluate_all_masks(bmain, CFRA, do_new_frame);
                }