[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27811] trunk/blender/source/gameengine/ Converter/BL_ArmatureObject.cpp: BGE: repair armature animation.
Benoit Bolsee
benoit.bolsee at online.be
Sun Mar 28 22:08:16 CEST 2010
Revision: 27811
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27811
Author: ben2610
Date: 2010-03-28 22:08:16 +0200 (Sun, 28 Mar 2010)
Log Message:
-----------
BGE: repair armature animation. Was broken since commit 27766.
Modified Paths:
--------------
trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp
Modified: trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp
===================================================================
--- trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp 2010-03-28 19:42:08 UTC (rev 27810)
+++ trunk/blender/source/gameengine/Converter/BL_ArmatureObject.cpp 2010-03-28 20:08:16 UTC (rev 27811)
@@ -89,6 +89,7 @@
}
out= (bPose*)MEM_dupallocN(src);
+ out->chanhash = NULL;
out->agroups.first= out->agroups.last= NULL;
out->ikdata = NULL;
out->ikparam = MEM_dupallocN(out->ikparam);
@@ -120,7 +121,8 @@
}
BLI_ghash_free(ghash, NULL, NULL);
-
+ // set acceleration structure for channel lookup
+ make_pose_channels_hash(out);
*dst=out;
}
More information about the Bf-blender-cvs
mailing list