From dd7b9a362d9e362f81825bfa05f06741e9c1323b Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Sat, 24 Feb 2018 13:11:30 +0100 Subject: 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 --- source/blender/collada/collada.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/collada/collada.h') diff --git a/source/blender/collada/collada.h b/source/blender/collada/collada.h index d31f5a8ba62..a8f082f630c 100644 --- a/source/blender/collada/collada.h +++ b/source/blender/collada/collada.h @@ -77,6 +77,7 @@ int collada_export(struct 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, -- cgit v1.2.3 From d91f2ac37aa02d96a00d116fa55cdc9f55afd32c Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Sat, 24 Feb 2018 22:15:52 +0100 Subject: changing collada parameters Differential Revision: https://developer.blender.org/D3080 --- source/blender/collada/collada.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/collada/collada.h') diff --git a/source/blender/collada/collada.h b/source/blender/collada/collada.h index a8f082f630c..e546e1f1056 100644 --- a/source/blender/collada/collada.h +++ b/source/blender/collada/collada.h @@ -67,7 +67,7 @@ int collada_import(struct bContext *C, int keep_bind_info); -int collada_export(struct Scene *sce, +int collada_export(struct bContext *C, const char *filepath, int apply_modifiers, BC_export_mesh_type export_mesh_type, -- cgit v1.2.3