diff options
Diffstat (limited to 'source/blender/editors/space_nla/space_nla.c')
-rw-r--r-- | source/blender/editors/space_nla/space_nla.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/space_nla/space_nla.c b/source/blender/editors/space_nla/space_nla.c index 7c9014bd45f..ccf60000993 100644 --- a/source/blender/editors/space_nla/space_nla.c +++ b/source/blender/editors/space_nla/space_nla.c @@ -284,6 +284,8 @@ static void nla_main_area_draw(const bContext *C, ARegion *ar) UI_view2d_grid_draw(v2d, grid, V2D_GRIDLINES_ALL); UI_view2d_grid_free(grid); + ED_region_draw_cb_draw(C, ar, REGION_DRAW_PRE_VIEW); + /* data */ if (ANIM_animdata_get_context(C, &ac)) { /* strips and backdrops */ @@ -308,6 +310,10 @@ static void nla_main_area_draw(const bContext *C, ARegion *ar) UI_view2d_view_ortho(v2d); ANIM_draw_previewrange(C, v2d); + /* callback */ + UI_view2d_view_ortho(v2d); + ED_region_draw_cb_draw(C, ar, REGION_DRAW_POST_VIEW); + /* reset view matrix */ UI_view2d_view_restore(C); |