diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-06 22:11:49 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-06 22:11:49 +0400 |
commit | fe0a7ea7a584a77d0164bf9283493e49a2447371 (patch) | |
tree | 6be1f6680cd4bccc14a0fd2a5921638e77593588 /source/blender/editors/space_image/space_image.c | |
parent | 7b6e895c11b44cccb665f3d3136098d232c70617 (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_image/space_image.c')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |