[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33175] trunk/blender/source/blender/ editors/space_buttons/space_buttons.c: Possible fix for [#23982] Display update with animated nested custom ID properties
Janne Karhu
jhkarh at gmail.com
Fri Nov 19 09:17:58 CET 2010
Revision: 33175
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33175
Author: jhk
Date: 2010-11-19 09:17:57 +0100 (Fri, 19 Nov 2010)
Log Message:
-----------
Possible fix for [#23982] Display update with animated nested custom ID properties
* Any property area can have animated properties, so redraw the area on frame changes regardless of the specific property area type.
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_buttons/space_buttons.c
Modified: trunk/blender/source/blender/editors/space_buttons/space_buttons.c
===================================================================
--- trunk/blender/source/blender/editors/space_buttons/space_buttons.c 2010-11-19 07:46:23 UTC (rev 33174)
+++ trunk/blender/source/blender/editors/space_buttons/space_buttons.c 2010-11-19 08:17:57 UTC (rev 33175)
@@ -235,13 +235,8 @@
buttons_area_redraw(sa, BCONTEXT_RENDER);
break;
case ND_FRAME:
- buttons_area_redraw(sa, BCONTEXT_RENDER);
- buttons_area_redraw(sa, BCONTEXT_OBJECT);
- buttons_area_redraw(sa, BCONTEXT_MATERIAL);
- buttons_area_redraw(sa, BCONTEXT_TEXTURE);
- buttons_area_redraw(sa, BCONTEXT_WORLD);
- buttons_area_redraw(sa, BCONTEXT_DATA);
- buttons_area_redraw(sa, BCONTEXT_PHYSICS);
+ /* any buttons area can have animated properties so redraw all */
+ ED_area_tag_redraw(sa);
sbuts->preview= 1;
break;
case ND_OB_ACTIVE:
More information about the Bf-blender-cvs
mailing list