diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-02-24 15:11:30 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-02-24 17:55:27 +0300 |
commit | dd7b9a362d9e362f81825bfa05f06741e9c1323b (patch) | |
tree | 1cd3d6dda1f484ba91674336a9094a055e54376b /source/blender/collada/collada.cpp | |
parent | 4403ca80bda690c0ac44e4a6db0cddf4b2428006 (diff) |
T45687: Rework the Export/Import of Animations
This started with a fix for an animated Object Hierarchy. Then i decided to cleanup and optimize a bit. But at the end this has become a more or less full rewrite of the Animation Exporter. All of this happened in a separate local branch and i have retained all my local commits to better see what i have done.
Brief description:
* I fixed a few issues with exporting keyframed animations of object hierarchies where the objects have parent inverse matrices which differ from the Identity matrix.
* I added the option to export sampled animations with a user defined sampling rate (new user interface option)
* I briefly tested Object Animations and Rig Animations.
What is still needed:
* Cleanup the code
* Optimize the user interface
* Do the Documentation
Reviewers: mont29
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D3070
Diffstat (limited to 'source/blender/collada/collada.cpp')
-rw-r--r-- | source/blender/collada/collada.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/collada/collada.cpp b/source/blender/collada/collada.cpp index 024bc4a4a5c..79f50888150 100644 --- a/source/blender/collada/collada.cpp +++ b/source/blender/collada/collada.cpp @@ -78,6 +78,7 @@ int collada_export(Scene *sce, int include_armatures, int include_shapekeys, int deform_bones_only, + int sampling_rate, int active_uv_only, BC_export_texture_type export_texture_type, @@ -103,6 +104,7 @@ int collada_export(Scene *sce, export_settings.include_armatures = include_armatures != 0; export_settings.include_shapekeys = include_shapekeys != 0; export_settings.deform_bones_only = deform_bones_only != 0; + export_settings.sampling_rate = sampling_rate; export_settings.active_uv_only = active_uv_only != 0; export_settings.export_texture_type = export_texture_type; |