Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / sculpt_paint / paint_image_2d.c
index 09b0847b3064c067939d8ba4f8435caed3b872fc..30830e4e7bc21a3e903b569c6eede5d3a6fb3a22 100644 (file)
 #include "BLI_task.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 "BKE_texture.h"
 
+#include "DEG_depsgraph.h"
+
 #include "ED_paint.h"
 #include "ED_screen.h"
 
@@ -1359,7 +1360,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)