BGE: repair armature animation. Was broken since commit 27766.

This commit is contained in:
Benoit Bolsee 2010-03-28 20:08:16 +00:00
parent dc4ac8a263
commit 982886d34e

@ -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;
}