Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / util / editmode_undo.c
index fa697a0f006dfd73c6d17cebbbf274ea92aeadbd..43d1bfe1e6c1644e81498a18356679770c41170a 100644 (file)
 
 #include "BKE_blender_undo.h"
 #include "BKE_context.h"
-#include "BKE_depsgraph.h"
 #include "BKE_global.h"
 
+#include "DEG_depsgraph.h"
+
 #include "ED_util.h"
 #include "ED_mesh.h"
 
@@ -268,7 +269,7 @@ void undo_editmode_step(bContext *C, int step)
                EDBM_selectmode_to_scene(C);
        }
 
-       DAG_id_tag_update(&obedit->id, OB_RECALC_DATA);
+       DEG_id_tag_update(&obedit->id, OB_RECALC_DATA);
 
        /* XXX notifiers */
 }