diff options
author | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-08-07 23:22:39 +0400 |
---|---|---|
committer | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-08-07 23:22:39 +0400 |
commit | 3aa0953d95e43296e756f9763144c8c127be5ca5 (patch) | |
tree | d315f4b4f418bd24acfb3a78850059db47b3393b /source/blender/collada/AnimationExporter.cpp | |
parent | c095397c988cd2ef6a956ce2742814ea2d3e7f0d (diff) |
COLLADA Armature bake animation export fixed( needs more testing )
Diffstat (limited to 'source/blender/collada/AnimationExporter.cpp')
-rw-r--r-- | source/blender/collada/AnimationExporter.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/collada/AnimationExporter.cpp b/source/blender/collada/AnimationExporter.cpp index b1b26fa2915..fc13207dd2e 100644 --- a/source/blender/collada/AnimationExporter.cpp +++ b/source/blender/collada/AnimationExporter.cpp @@ -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; |