Update code to build with the latest OpenCollada (rev 588).
authorArystanbek Dyussenov <arystan.d@gmail.com>
Sun, 20 Sep 2009 15:55:44 +0000 (15:55 +0000)
committerArystanbek Dyussenov <arystan.d@gmail.com>
Sun, 20 Sep 2009 15:55:44 +0000 (15:55 +0000)
Updated instructions for building OpenCollada with scons (Makefiles deprecated) are here: http://wiki.blender.org/index.php/User:Kazanbas/Building_OpenCollada

source/blender/collada/DocumentImporter.cpp

index f6c40d2e058c9f0da82fe656e9032afad7941769..de181123ca8c81a79a9be32516a00f97b31d3807 100644 (file)
@@ -2264,7 +2264,7 @@ public:
                                                                                                anim_importer(&unit_converter, &armature_importer, CTX_data_scene(C)) {}
 
        /** Destructor. */
-       ~Writer() {};
+       ~Writer() {}
 
        bool write()
        {
@@ -2830,6 +2830,11 @@ public:
        {
                return true;
        }
+
+       virtual bool writeKinematicsScene( const COLLADAFW::KinematicsScene* kinematicsScene )
+       {
+               return true;
+       }
 };
 
 void DocumentImporter::import(bContext *C, const char *filename)