Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-02-07 15:37:14 +0300
committerJoshua Leung <aligorith@gmail.com>2011-02-07 15:37:14 +0300
commit3fab280c61c2655c0e493bcbd20b12ff3cd0bdc2 (patch)
tree63370b550f1ed7bbc279765693031641863cfd8b /source/blender/editors/animation
parent926f168e445c11c9826f32f7e3cc4917bc14a30f (diff)
Argh! This code is haunted... (line 666) compiler here isn't barfing
on these errors tonight :/
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/keyframing.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c
index 84288bd9807..39deb417b26 100644
--- a/source/blender/editors/animation/keyframing.c
+++ b/source/blender/editors/animation/keyframing.c
@@ -653,7 +653,6 @@ static float visualkey_get_value (PointerRNA *ptr, PropertyRNA *prop, int array_
}
}
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;
bPoseChannel tchan;
@@ -663,7 +662,7 @@ static float visualkey_get_value (PointerRNA *ptr, PropertyRNA *prop, int array_
* - it should be safe to just make a local copy like this, since we're not doing anything with the copied pointers
*/
memcpy(&tchan, pchan, sizeof(bPoseChannel));
- pchan_apply_mat4(&tchan, pchan->chan_mat);
+ pchan_apply_mat4(&tchan, pchan->chan_mat, TRUE);
/* Loc, Rot/Quat keyframes are supported... */
if (strstr(identifier, "location")) {