Fix #32002: "Anim Player" button on header doesn't appear
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 3 Jul 2012 15:01:54 +0000 (15:01 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 3 Jul 2012 15:01:54 +0000 (15:01 +0000)
source/blender/editors/space_sequencer/space_sequencer.c

index b8bf764fabccad14912afba8384b3ef8552c5e57..cabc761161e74a1097ad80bcb1ad1dc26a8c46e6 100644 (file)
@@ -454,6 +454,10 @@ static void sequencer_main_area_listener(ARegion *ar, wmNotifier *wmn)
                        if (wmn->action == NA_RENAME)
                                ED_region_tag_redraw(ar);
                        break;
+               case NC_SCREEN:
+                       if (ELEM(wmn->data, ND_SCREENCAST, ND_ANIMPLAY))
+                               ED_region_tag_redraw(ar);
+                       break;
        }
 }