diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2020-06-29 09:13:48 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2020-06-29 09:13:48 +0300 |
commit | 3b630bd563b65cb43fc2c3b61213d14ad68b8eb4 (patch) | |
tree | 26728fa56471b8907caab91180f82a2486e0429a /source | |
parent | 41bfdeaa539cf2f7936c02af04124672b5af1e8e (diff) |
Fix T78229: Playhead not refreshing when area is maximized
No other areas were tagged for redraw.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); |