From fe0a7ea7a584a77d0164bf9283493e49a2447371 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 6 Aug 2010 18:11:49 +0000 Subject: Fix #23208: REGION_DRAW_POST_PIXEL callbacks only work in 3d view and image editor, but there's no reason they wouldn't work in all regions, so moved the function call. --- source/blender/editors/space_image/space_image.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/editors/space_image/space_image.c') diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 3eae1438517..9cd67793747 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -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); -- cgit v1.2.3