From 3b630bd563b65cb43fc2c3b61213d14ad68b8eb4 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Mon, 29 Jun 2020 08:13:48 +0200 Subject: Fix T78229: Playhead not refreshing when area is maximized No other areas were tagged for redraw. --- source/blender/editors/screen/screen_ops.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender') diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 14d6305ec13..373d3e5349e 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -4398,9 +4398,10 @@ static void screen_animation_region_tag_redraw(ScrArea *area, } } + /* No need to do a full redraw as the playhead is only updated. We do need to redraw when this + * area is in full screen as no other areas will be tagged for redrawing. */ if ((region->regiontype == RGN_TYPE_WINDOW) && - (ELEM(area->spacetype, SPACE_GRAPH, SPACE_NLA, SPACE_ACTION, SPACE_SEQ))) { - /* No need to do a full redraw as the playhead is only updated. */ + (ELEM(area->spacetype, SPACE_GRAPH, SPACE_NLA, SPACE_ACTION, SPACE_SEQ)) && !area->full) { return; } ED_region_tag_redraw(region); -- cgit v1.2.3