Fix bam2egg issue with animated models

This commit is contained in:
09th 2015-02-24 19:58:14 +01:00 committed by rdb
parent 9aafde0579
commit c0e4de3df7

View File

@ -347,7 +347,7 @@ convert_character_bundle(PartGroup *bundleNode, EggGroupNode *egg_parent, Charac
CharacterJoint *character_joint = DCAST(CharacterJoint, bundleNode);
LMatrix4 transformf;
character_joint->get_net_transform(transformf);
character_joint->get_transform(transformf);
LMatrix4d transformd(LCAST(double, transformf));
EggGroup *joint = new EggGroup(bundleNode->get_name());
joint->add_matrix4(transformd);