[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15461] trunk/blender/source/blender/src/ edittime.c: Little tweak to timeline_force_draw, so that button windows are updated properly
Joshua Leung
aligorith at gmail.com
Mon Jul 7 02:54:34 CEST 2008
Revision: 15461
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15461
Author: aligorith
Date: 2008-07-07 02:54:32 +0200 (Mon, 07 Jul 2008)
Log Message:
-----------
Little tweak to timeline_force_draw, so that button windows are updated properly
Modified Paths:
--------------
trunk/blender/source/blender/src/edittime.c
Modified: trunk/blender/source/blender/src/edittime.c
===================================================================
--- trunk/blender/source/blender/src/edittime.c 2008-07-06 22:52:55 UTC (rev 15460)
+++ trunk/blender/source/blender/src/edittime.c 2008-07-07 00:54:32 UTC (rev 15461)
@@ -803,11 +803,11 @@
if(sa->spacetype==SPACE_VIEW3D) {
if(sa==samin || (val & TIME_ALL_3D_WIN)) dodraw= 1;
}
- else if(ELEM6(sa->spacetype, SPACE_NLA, SPACE_IPO, SPACE_SEQ, SPACE_BUTS, SPACE_ACTION, SPACE_SOUND)) {
+ else if(ELEM5(sa->spacetype, SPACE_NLA, SPACE_IPO, SPACE_SEQ, SPACE_ACTION, SPACE_SOUND)) {
if(val & TIME_ALL_ANIM_WIN) dodraw= 1;
}
else if(sa->spacetype==SPACE_BUTS) {
- if(val & TIME_ALL_BUTS_WIN) dodraw= 1;
+ if(val & TIME_ALL_BUTS_WIN) dodraw= 2;
}
else if(sa->spacetype==SPACE_IMAGE) {
if (val & TIME_ALL_IMAGE_WIN) dodraw = 1;
More information about the Bf-blender-cvs
mailing list