Fix T91160 - Movie Clip Editor - frame indicator/controller is not displayed
The frame indicator/controller is not displayed when in the Graph or Dopesheet view of the Movie Clip Editor To solve this we could call the function ED_time_scrub_draw_current_frame in clip_draw_dopesheet_main and graph_region_draw in space_clip.c Reviewed By: jbakker Maniphest Tasks: T91160 Differential Revision: https://developer.blender.org/D12659
This commit is contained in:
@@ -1079,6 +1079,9 @@ static void graph_region_draw(const bContext *C, ARegion *region)
|
||||
/* time-scrubbing */
|
||||
ED_time_scrub_draw(region, scene, sc->flag & SC_SHOW_SECONDS, true);
|
||||
|
||||
/* current frame indicator */
|
||||
ED_time_scrub_draw_current_frame(region, scene, sc->flag & SC_SHOW_SECONDS);
|
||||
|
||||
/* scrollers */
|
||||
UI_view2d_scrollers_draw(v2d, NULL);
|
||||
|
||||
@@ -1126,6 +1129,9 @@ static void dopesheet_region_draw(const bContext *C, ARegion *region)
|
||||
/* time-scrubbing */
|
||||
ED_time_scrub_draw(region, scene, sc->flag & SC_SHOW_SECONDS, true);
|
||||
|
||||
/* current frame indicator */
|
||||
ED_time_scrub_draw_current_frame(region, scene, sc->flag & SC_SHOW_SECONDS);
|
||||
|
||||
/* scrollers */
|
||||
UI_view2d_scrollers_draw(v2d, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user