[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55103] trunk/blender/source/blender/ editors/animation/keyframing.c: Bugfixes: [#34394] and [#31843] Visual Keying not working for bones

Joshua Leung aligorith at gmail.com
Fri Mar 8 00:28:23 CET 2013


Revision: 55103
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55103
Author:   aligorith
Date:     2013-03-07 23:28:23 +0000 (Thu, 07 Mar 2013)
Log Message:
-----------
Bugfixes: [#34394] and [#31843] Visual Keying not working for bones

Big thanks to Josef Meier (jomeier) for finding the fix!

It turns out that this was a case of variable shadowing that had been overlooked
and compilers were not warning about.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/animation/keyframing.c

Modified: trunk/blender/source/blender/editors/animation/keyframing.c
===================================================================
--- trunk/blender/source/blender/editors/animation/keyframing.c	2013-03-07 23:17:23 UTC (rev 55102)
+++ trunk/blender/source/blender/editors/animation/keyframing.c	2013-03-07 23:28:23 UTC (rev 55103)
@@ -714,7 +714,6 @@
 	else if (ptr->type == &RNA_PoseBone) {
 		Object *ob = (Object *)ptr->id.data; /* we assume that this is always set, and is an object */
 		bPoseChannel *pchan = (bPoseChannel *)ptr->data;
-		float tmat[4][4];
 		
 		/* Although it is not strictly required for this particular space conversion, 
 		 * arg1 must not be null, as there is a null check for the other conversions to




More information about the Bf-blender-cvs mailing list