From 58650a7599da9b4d56045ac599173fc92d3e5c68 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Tue, 24 Apr 2018 17:37:28 +0200 Subject: UI Tweak: Don't hide frame range indicators when preview range is shown After discussing with UI team, it's better to show both ranges, to make it clearer that we have an "overlay" with the preview range. --- source/blender/editors/animation/anim_draw.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source/blender/editors/animation/anim_draw.c') diff --git a/source/blender/editors/animation/anim_draw.c b/source/blender/editors/animation/anim_draw.c index 623a3e82ecc..c70d3133c29 100644 --- a/source/blender/editors/animation/anim_draw.c +++ b/source/blender/editors/animation/anim_draw.c @@ -192,13 +192,6 @@ void ANIM_draw_previewrange(const bContext *C, View2D *v2d, int end_frame_width) // TODO: Should we still show these when preview range is enabled? void ANIM_draw_framerange(Scene *scene, View2D *v2d) { - /* Don't draw frame range when preview range is enabled. - * Otherwise we get nasty/confusing visual conflicts - */ - if (PRVRANGEON) { - return; - } - /* draw darkened area outside of active timeline frame range */ glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ONE_MINUS_SRC_ALPHA); glEnable(GL_BLEND); -- cgit v1.2.3