AnimEditors: Draw start/end frame ranges on all timelines by default

This uses the global scene range, with styling matching the sequencer's start/end
frame drawing.

(The graph editor's "drivers" mode is exempt, as that doesn't really display time
in a linear way, so the start/end frames don't apply)
This commit is contained in:
2018-04-19 18:03:15 +02:00
parent 0f77060ebc
commit c9fc11a314
6 changed files with 69 additions and 5 deletions

View File

@@ -551,6 +551,12 @@ void ANIM_draw_cfra(const struct bContext *C, struct View2D *v2d, short flag);
/* main call to draw preview range curtains */
void ANIM_draw_previewrange(const struct bContext *C, struct View2D *v2d, int end_frame_width);
/* -------------- Frame Range Drawing --------------- */
/* main call to draw normal frame range indicators */
void ANIM_draw_framerange(struct Scene *scene, struct View2D *v2d);
/* ************************************************* */
/* F-MODIFIER TOOLS */