Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_clip / clip_ops.c
index af5a33bbebefe5ccaf1249e05b4e8c060ff0175f..0d9371a77844d954f67cffdb80412c87a85362b4 100644 (file)
@@ -56,7 +56,6 @@
 
 #include "BKE_context.h"
 #include "BKE_global.h"
-#include "BKE_depsgraph.h"
 #include "BKE_report.h"
 #include "BKE_library.h"
 #include "BKE_main.h"
@@ -83,6 +82,8 @@
 
 #include "PIL_time.h"
 
+#include "DEG_depsgraph_build.h"
+
 #include "clip_intern.h"       // own include
 
 /******************** view navigation utilities *********************/
@@ -249,7 +250,7 @@ static int open_exec(bContext *C, wmOperator *op)
 
        WM_event_add_notifier(C, NC_MOVIECLIP | NA_ADDED, clip);
 
-       DAG_relations_tag_update(bmain);
+       DEG_relations_tag_update(bmain);
        MEM_freeN(op->customdata);
 
        return OPERATOR_FINISHED;