[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13974] trunk/blender/source: * Patch by Leandro Inocencio (cesio) to redraw Action Editor after hiding/ unhiding bones

Joshua Leung aligorith at gmail.com
Wed Mar 5 04:59:46 CET 2008


Revision: 13974
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13974
Author:   aligorith
Date:     2008-03-05 04:59:44 +0100 (Wed, 05 Mar 2008)

Log Message:
-----------
* Patch by Leandro Inocencio (cesio) to redraw Action Editor after hiding/unhiding bones
* Fixes for compiler warnings

Modified Paths:
--------------
    trunk/blender/source/blender/src/editaction.c
    trunk/blender/source/blender/src/editarmature.c
    trunk/blender/source/creator/creator.c

Modified: trunk/blender/source/blender/src/editaction.c
===================================================================
--- trunk/blender/source/blender/src/editaction.c	2008-03-05 03:04:55 UTC (rev 13973)
+++ trunk/blender/source/blender/src/editaction.c	2008-03-05 03:59:44 UTC (rev 13974)
@@ -3919,7 +3919,6 @@
 	
 	bAction *act;
 	bActionChannel *achan;
-	short mode= 1;
 	
 	/* Get the selected action, exit if none are selected */
 	data = get_action_context(&datatype);

Modified: trunk/blender/source/blender/src/editarmature.c
===================================================================
--- trunk/blender/source/blender/src/editarmature.c	2008-03-05 03:04:55 UTC (rev 13973)
+++ trunk/blender/source/blender/src/editarmature.c	2008-03-05 03:59:44 UTC (rev 13974)
@@ -3479,6 +3479,7 @@
 
 	allqueue(REDRAWVIEW3D, 0);
 	allqueue(REDRAWBUTSEDIT, 0);
+	allqueue(REDRAWACTION, 0);
 	BIF_undo_push("Hide Unselected Bone");
 }
 
@@ -3511,6 +3512,7 @@
 
 	allqueue(REDRAWVIEW3D, 0);
 	allqueue(REDRAWBUTSEDIT, 0);
+	allqueue(REDRAWACTION, 0);
 	BIF_undo_push("Reveal Bones");
 }
 

Modified: trunk/blender/source/creator/creator.c
===================================================================
--- trunk/blender/source/creator/creator.c	2008-03-05 03:04:55 UTC (rev 13973)
+++ trunk/blender/source/creator/creator.c	2008-03-05 03:59:44 UTC (rev 13974)
@@ -245,7 +245,7 @@
 
 int main(int argc, char **argv)
 {
-	int a, i, stax, stay, sizx, sizy;
+	int a, i, stax=0, stay=0, sizx, sizy;
 	SYS_SystemHandle syshandle;
 	Scene *sce;
 





More information about the Bf-blender-cvs mailing list