[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34692] trunk/blender/source/blender/ editors/animation/keyframing.c: Argh! This code is haunted...
Joshua Leung
aligorith at gmail.com
Mon Feb 7 13:37:14 CET 2011
Revision: 34692
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34692
Author: aligorith
Date: 2011-02-07 12:37:14 +0000 (Mon, 07 Feb 2011)
Log Message:
-----------
Argh! This code is haunted... (line 666) compiler here isn't barfing
on these errors tonight :/
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 2011-02-07 12:28:04 UTC (rev 34691)
+++ trunk/blender/source/blender/editors/animation/keyframing.c 2011-02-07 12:37:14 UTC (rev 34692)
@@ -653,7 +653,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;
bPoseChannel tchan;
@@ -663,7 +662,7 @@
* - 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")) {
More information about the Bf-blender-cvs
mailing list