[Bf-blender-cvs] [3b630bd563b] master: Fix T78229: Playhead not refreshing when area is maximized

Jeroen Bakker noreply at git.blender.org
Mon Jun 29 08:15:06 CEST 2020


Commit: 3b630bd563b65cb43fc2c3b61213d14ad68b8eb4
Author: Jeroen Bakker
Date:   Mon Jun 29 08:13:48 2020 +0200
Branches: master
https://developer.blender.org/rB3b630bd563b65cb43fc2c3b61213d14ad68b8eb4

Fix T78229: Playhead not refreshing when area is maximized

No other areas were tagged for redraw.

===================================================================

M	source/blender/editors/screen/screen_ops.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list