Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / mask.c
index cd697cadc0e0acf3243b98a8f6505e60ffc23d35..92dee5b55d48876719c37f9bddaf44e1d181f5e2 100644 (file)
@@ -51,7 +51,6 @@
 
 #include "BKE_animsys.h"
 #include "BKE_curve.h"
-#include "BKE_depsgraph.h"
 #include "BKE_global.h"
 #include "BKE_library.h"
 #include "BKE_main.h"
@@ -62,6 +61,8 @@
 #include "BKE_movieclip.h"
 #include "BKE_image.h"
 
+#include "DEG_depsgraph_build.h"
+
 static struct {
        ListBase splines;
        struct GHash *id_hash;
@@ -818,7 +819,7 @@ Mask *BKE_mask_new(Main *bmain, const char *name)
        mask->sfra = 1;
        mask->efra = 100;
 
-       DAG_relations_tag_update(bmain);
+       DEG_relations_tag_update(bmain);
 
        return mask;
 }