Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-10 20:59:55 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-10 20:59:55 +0400
commitac224a64f408fcc8f90f7ea0124cbe4b9ef1e811 (patch)
tree17bf93532573b7e0cf64c3284264b5fce649a40b /source/blender/editors/space_image
parent367de678895e7815c26a5668506b8ae24624742c (diff)
Fix #34941: Space.draw_handler_add now supports PRE_VIEW and POST_VIEW callbacks
for more editors: timeline, graph, action, NLA, sequencer, image, clip.
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r--source/blender/editors/space_image/space_image.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c
index 9bc23ca17c2..815610ff1df 100644
--- a/source/blender/editors/space_image/space_image.c
+++ b/source/blender/editors/space_image/space_image.c
@@ -667,6 +667,9 @@ static void image_main_area_draw(const bContext *C, ARegion *ar)
/* and uvs in 0.0-1.0 space */
UI_view2d_view_ortho(v2d);
+
+ ED_region_draw_cb_draw(C, ar, REGION_DRAW_PRE_VIEW);
+
draw_uvedit_main(sima, ar, scene, obedit, obact);
/* check for mask (delay draw) */