diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2010-03-29 00:08:16 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2010-03-29 00:08:16 +0400 |
commit | 982886d34e978b9069b7be0048cc131f47f2b13f (patch) | |
tree | 5bc3ad6f56a1ac1970f1aebea9c416ae60fa89e7 /source/gameengine/Converter | |
parent | dc4ac8a263dae68f2563c44c4b6a44944f0053fe (diff) |
BGE: repair armature animation. Was broken since commit 27766.
Diffstat (limited to 'source/gameengine/Converter')
-rw-r--r-- | source/gameengine/Converter/BL_ArmatureObject.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/Converter/BL_ArmatureObject.cpp b/source/gameengine/Converter/BL_ArmatureObject.cpp index 7a6fc044637..18204d1deab 100644 --- a/source/gameengine/Converter/BL_ArmatureObject.cpp +++ b/source/gameengine/Converter/BL_ArmatureObject.cpp @@ -89,6 +89,7 @@ void game_copy_pose(bPose **dst, bPose *src, int copy_constraint) } 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 @@ void game_copy_pose(bPose **dst, bPose *src, int copy_constraint) } BLI_ghash_free(ghash, NULL, NULL); - + // set acceleration structure for channel lookup + make_pose_channels_hash(out); *dst=out; } |