diff options
author | Domino Marama <domino@dominodesigns.info> | 2012-02-05 20:19:28 +0400 |
---|---|---|
committer | Domino Marama <domino@dominodesigns.info> | 2012-02-05 20:19:28 +0400 |
commit | 2cb3fe3dfd830386633e5642d35108be8b6b6a17 (patch) | |
tree | 9fde457bc9f80d5be215c1bd7c130bca6f0dccc9 /source/blender/collada/AnimationExporter.h | |
parent | fa163003c98e09f00bcbbee7838d5ed487d55cc8 (diff) |
Patch #30050 by Juha Mäki-Kanto (kanttori)
Fixes for Collada exporter.
Adds Second Life compatibility for armatures
Adds objects parentinverse to exported transform if it's non-identity
Fix mismatch between add_inv_bind_mats and add_joints_source accessor counts
Fix bone exports in world space should be local space
Diffstat (limited to 'source/blender/collada/AnimationExporter.h')
-rw-r--r-- | source/blender/collada/AnimationExporter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/collada/AnimationExporter.h b/source/blender/collada/AnimationExporter.h index c3a5c7a5383..ba7ec6859cc 100644 --- a/source/blender/collada/AnimationExporter.h +++ b/source/blender/collada/AnimationExporter.h @@ -83,7 +83,9 @@ private: public: - AnimationExporter(COLLADASW::StreamWriter *sw): COLLADASW::LibraryAnimations(sw) { this->sw = sw; } + AnimationExporter(COLLADASW::StreamWriter *sw, const ExportSettings *export_settings): + COLLADASW::LibraryAnimations(sw), export_settings(export_settings) + { this->sw = sw; } void exportAnimations(Scene *sce); @@ -92,6 +94,7 @@ public: void operator() (Object *ob); protected: + const ExportSettings *export_settings; void dae_animation(Object* ob, FCurve *fcu, char* transformName , bool is_param, Material *ma = NULL); |