diff options
author | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-06-05 22:58:22 +0400 |
---|---|---|
committer | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-06-05 22:58:22 +0400 |
commit | f2daf2ca6b9aec02ebe8108c6354d1aebc869e99 (patch) | |
tree | edd0af8485fdbf9cbda2bffcdc46830b9e975b33 /source/blender/collada/AnimationExporter.h | |
parent | 185663b52b618a5fc20878db269ac056ede7591e (diff) |
Add new animation export features.
- Bone animations are also exported as f-curve animations now. As a result euler rotaions of bones are also exported. All animations with BEZIER, LINEAR or STEP ipo are exported.
- Quaternion rotations export.
- Object parented with armatures, animations to Armature Objects as a whole are also exported.
Diffstat (limited to 'source/blender/collada/AnimationExporter.h')
-rw-r--r-- | source/blender/collada/AnimationExporter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/collada/AnimationExporter.h b/source/blender/collada/AnimationExporter.h index 3968401331a..0368e34dc42 100644 --- a/source/blender/collada/AnimationExporter.h +++ b/source/blender/collada/AnimationExporter.h @@ -89,7 +89,7 @@ public: protected: - void dae_animation(FCurve *fcu, std::string ob_name); + void dae_animation(Object* ob, FCurve *fcu, char* transformName); void write_bone_animation(Object *ob_arm, Bone *bone); @@ -137,4 +137,6 @@ protected: bool hasAnimations(Scene *sce); char* extract_transform_name(char *rna_path); + + std::string getObjectBoneName ( Object *ob,const FCurve * fcu); };
\ No newline at end of file |