diff options
author | Joshua Leung <aligorith@gmail.com> | 2013-03-08 03:28:23 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-03-08 03:28:23 +0400 |
commit | 7f7f32d768d0486621a3832487dd569b8245c05a (patch) | |
tree | f504b31413bfbb289bed08bb667344572b00772d | |
parent | 373de9e9361cdf624cdecf33e7effd4a241f3cc8 (diff) |
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.
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 6d1e6eab26b..532c711d3ab 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -714,7 +714,6 @@ static float visualkey_get_value(PointerRNA *ptr, PropertyRNA *prop, int array_i 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 |