From 0b15bc3041263e6f1c6e82d762d7fc28c09e32d2 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 18 Dec 2018 15:41:21 +0100 Subject: [PATCH] blender: add patches for opencollada-1.6.68 --- .../collada-1.6.68_DocumentImporter.cpp.patch | 14 ++++++++++++++ .../collada-1.6.68_DocumentImporter.h.patch | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/blender/patches/collada-1.6.68_DocumentImporter.cpp.patch create mode 100644 srcpkgs/blender/patches/collada-1.6.68_DocumentImporter.h.patch diff --git a/srcpkgs/blender/patches/collada-1.6.68_DocumentImporter.cpp.patch b/srcpkgs/blender/patches/collada-1.6.68_DocumentImporter.cpp.patch new file mode 100644 index 00000000000..e181a004379 --- /dev/null +++ b/srcpkgs/blender/patches/collada-1.6.68_DocumentImporter.cpp.patch @@ -0,0 +1,14 @@ +--- a/source/blender/collada/DocumentImporter.cpp ++++ b/source/blender/collada/DocumentImporter.cpp +@@ -1340,6 +1340,11 @@ bool DocumentImporter::writeAnimationLis + return anim_importer.write_animation_list(animationList); + } + ++bool DocumentImporter::writeAnimationClip(const COLLADAFW::AnimationClip *AnimationClip) ++{ ++ return true; ++} ++ + /** 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) diff --git a/srcpkgs/blender/patches/collada-1.6.68_DocumentImporter.h.patch b/srcpkgs/blender/patches/collada-1.6.68_DocumentImporter.h.patch new file mode 100644 index 00000000000..af0d2b4dded --- /dev/null +++ b/srcpkgs/blender/patches/collada-1.6.68_DocumentImporter.h.patch @@ -0,0 +1,11 @@ +--- a/source/blender/collada/DocumentImporter.h.orig 2018-12-03 07:38:12 UTC ++++ b/source/blender/collada/DocumentImporter.h +@@ -107,6 +107,8 @@ public: + bool writeAnimation(const COLLADAFW::Animation*); + + bool writeAnimationList(const COLLADAFW::AnimationList*); ++ ++ bool writeAnimationClip( const COLLADAFW::AnimationClip* ); + + bool writeGeometry(const COLLADAFW::Geometry*); +