COLLADA Armature bake animation export fixed( needs more testing )

This commit is contained in:
2011-08-07 19:22:39 +00:00
parent c095397c98
commit 3aa0953d95

View File

@@ -382,6 +382,10 @@ void AnimationExporter::exportAnimations(Scene *sce)
dae_baked_animation(fra ,values, id_name(ob_arm), bone->name );
}
if (flag & ARM_RESTPOS)
arm->flag = flag;
where_is_pose(scene, ob_arm);
}
void AnimationExporter::sample_and_write_bone_animation(Object *ob_arm, Bone *bone, int transform_type)
@@ -458,7 +462,7 @@ void AnimationExporter::exportAnimations(Scene *sce)
return;
parchan = pchan->parent;
enable_fcurves(ob_arm->adt->action, bone->name);
std::vector<float>::iterator it;