From b0989aac023b0c1b9cfc2e7cc1006c62e857275f Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Thu, 28 Jan 2010 02:08:16 +0000 Subject: [PATCH] Fix [#20152] Video textures do not refresh at frame change --- source/blender/editors/space_buttons/space_buttons.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c index 6f52a84ce80..15d352969f2 100644 --- a/source/blender/editors/space_buttons/space_buttons.c +++ b/source/blender/editors/space_buttons/space_buttons.c @@ -256,10 +256,17 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn) switch(wmn->category) { case NC_SCENE: switch(wmn->data) { - case ND_FRAME: case ND_RENDER_OPTIONS: buttons_area_redraw(sa, BCONTEXT_RENDER); break; + case ND_FRAME: + buttons_area_redraw(sa, BCONTEXT_RENDER); + buttons_area_redraw(sa, BCONTEXT_MATERIAL); + buttons_area_redraw(sa, BCONTEXT_TEXTURE); + buttons_area_redraw(sa, BCONTEXT_WORLD); + buttons_area_redraw(sa, BCONTEXT_DATA); + sbuts->preview= 1; + break; case ND_OB_ACTIVE: ED_area_tag_redraw(sa); sbuts->preview= 1;