diff options
author | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-05-29 23:27:30 +0400 |
---|---|---|
committer | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-05-29 23:27:30 +0400 |
commit | c61d39ef6c254868ec750e98328c35cf7eca1c38 (patch) | |
tree | 8d3bfb76fc93cd39a229911a54e9f04c915f5c18 /source/blender/collada/AnimationExporter.h | |
parent | 57d190ee104bedc0e0b715a09c5c4f8d8ee2cbbe (diff) |
Add support for exporting F-Curves with BEZIER and STEP INTERPOLATION types.
Diffstat (limited to 'source/blender/collada/AnimationExporter.h')
-rw-r--r-- | source/blender/collada/AnimationExporter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/collada/AnimationExporter.h b/source/blender/collada/AnimationExporter.h index 89db0788674..3968401331a 100644 --- a/source/blender/collada/AnimationExporter.h +++ b/source/blender/collada/AnimationExporter.h @@ -95,7 +95,7 @@ protected: void sample_and_write_bone_animation(Object *ob_arm, Bone *bone, int transform_type); - void sample_animation(float *v, std::vector<float> &frames, int type, Bone *bone, Object *ob_arm); + void sample_animation(float *v, std::vector<float> &frames, int type, Bone *bone, Object *ob_arm, bPoseChannel *pChan); // dae_bone_animation -> add_bone_animation // (blend this into dae_bone_animation) @@ -120,8 +120,9 @@ protected: std::string create_xyz_source(float *v, int tot, const std::string& anim_id); - std::string create_interpolation_source(int tot, const std::string& anim_id, const char *axis_name); + std::string create_interpolation_source(FCurve *fcu, const std::string& anim_id, const char *axis_name, bool *has_tangents); + std::string fake_interpolation_source(int tot, const std::string& anim_id, const char *axis_name); // for rotation, axis name is always appended and the value of append_axis is ignored std::string get_transform_sid(char *rna_path, int tm_type, const char *axis_name, bool append_axis); |