Fix #23208: REGION_DRAW_POST_PIXEL callbacks only work in 3d view and
[blender.git] / source / blender / editors / space_image / space_image.c
index 3eae143851759925b06377ac05b0704b55aa671c..9cd6779374759d26ebc324949ff387719f97334c 100644 (file)
@@ -776,8 +776,6 @@ static void image_main_area_draw(const bContext *C, ARegion *ar)
 
        /* draw Grease Pencil - screen space only */
        draw_image_grease_pencil((bContext *)C, 0);
-
-       ED_region_draw_cb_draw(C, ar, REGION_DRAW_POST_PIXEL);
        
        /* scrollers? */
        /*scrollers= UI_view2d_scrollers_calc(C, v2d, V2D_UNIT_VALUES, V2D_GRID_CLAMP, V2D_ARG_DUMMY, V2D_ARG_DUMMY);