Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / sculpt_paint / paint_image_2d.c
index 37096f9e660197cc79b4ecc60df9433c4547c9fd..c2ce9d8378288eda490ffbd53d2b7c0e5f979e7a 100644 (file)
 
 #include "BKE_colorband.h"
 #include "BKE_context.h"
-#include "BKE_depsgraph.h"
 #include "BKE_brush.h"
 #include "BKE_image.h"
 #include "BKE_paint.h"
 #include "BKE_report.h"
 
+#include "DEG_depsgraph.h"
+
 #include "ED_paint.h"
 #include "ED_screen.h"
 
@@ -1367,7 +1368,7 @@ void paint_2d_redraw(const bContext *C, void *ps, bool final)
 
                /* compositor listener deals with updating */
                WM_event_add_notifier(C, NC_IMAGE | NA_EDITED, s->image);
-               DAG_id_tag_update(&s->image->id, 0);
+               DEG_id_tag_update(&s->image->id, 0);
        }
        else {
                if (!s->sima || !s->sima->lock)