diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-11-16 16:05:05 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-11-16 16:05:05 +0300 |
commit | da344b4045ddf6265bedcae83db9d91d361f00c4 (patch) | |
tree | 15111cc2f0dda3fea2f8fb92b04d2fb23aafb566 /source/blender/editors/space_clip | |
parent | 20963a6a06c2b77d0f012bc3826da10822b11d5e (diff) | |
parent | ec20d311da405b1150ca69c1ab462ff66630e4ec (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/space_clip.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c index 10f7777ee31..83b4f0aa6ce 100644 --- a/source/blender/editors/space_clip/space_clip.c +++ b/source/blender/editors/space_clip/space_clip.c @@ -888,6 +888,9 @@ static void clip_main_region_draw(const bContext *C, ARegion *ar) /* data... */ movieclip_main_area_set_view2d(C, ar); + /* callback */ + ED_region_draw_cb_draw(C, ar, REGION_DRAW_PRE_VIEW); + clip_draw_main(C, sc, ar); /* TODO(sergey): would be nice to find a way to de-duplicate all this space conversions */ @@ -933,6 +936,9 @@ static void clip_main_region_draw(const bContext *C, ARegion *ar) clip_draw_grease_pencil((bContext *)C, true); } + /* callback */ + ED_region_draw_cb_draw(C, ar, REGION_DRAW_POST_VIEW); + /* reset view matrix */ UI_view2d_view_restore(C); |