diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-12-04 21:48:21 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-12-04 21:48:21 +0300 |
commit | 5c3955452b0e93c3977afbb3294a19d8b20d8aea (patch) | |
tree | 927754d803dc1f60b80f73cdab8c63d15b6f7c2e /source/blender/collada/DocumentImporter.cpp | |
parent | 34b73cb11ce50f2afefabec32aadb9a853eec177 (diff) | |
parent | 10c50d7dbf7578b35b3bf19a1948f556f9eb203b (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/collada/DocumentImporter.cpp')
-rw-r--r-- | source/blender/collada/DocumentImporter.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp index 8eb9e5c969e..3df47b71598 100644 --- a/source/blender/collada/DocumentImporter.cpp +++ b/source/blender/collada/DocumentImporter.cpp @@ -1148,6 +1148,19 @@ bool DocumentImporter::writeAnimationList(const COLLADAFW::AnimationList *animat return anim_importer.write_animation_list(animationList); } +#if OPENCOLLADA_WITH_ANIMATION_CLIP +// Since opencollada 1.6.68 +// called on post-process stage after writeVisualScenes +bool DocumentImporter::writeAnimationClip(const COLLADAFW::AnimationClip *AnimationClip) +{ + if (mImportStage == Fetching_Controller_data) + return true; + + return true; + //return animation_clip_importer.write_animation_clip(animationClip); // TODO: implement import of AnimationClips +} +#endif + /** When this method is called, the writer must write the skin controller data. * \return The writer should return true, if writing succeeded, false otherwise.*/ bool DocumentImporter::writeSkinControllerData(const COLLADAFW::SkinControllerData *skin) |