From c7beb4eba2acc986162aaf43b9ec0e71bb67ed55 Mon Sep 17 00:00:00 2001 From: Chingiz Dyussenov Date: Fri, 31 Jul 2009 20:35:14 +0000 Subject: [PATCH] Disabled light and material exporting to make it compile with the latest OpenCollada. --- source/blender/collada/DocumentExporter.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/source/blender/collada/DocumentExporter.cpp b/source/blender/collada/DocumentExporter.cpp index 7fbb0c21f3e..0b6ee935b44 100644 --- a/source/blender/collada/DocumentExporter.cpp +++ b/source/blender/collada/DocumentExporter.cpp @@ -52,7 +52,7 @@ extern "C" #include "COLLADASWSurfaceInitOption.h" #include "COLLADASWSampler.h" #include "COLLADASWScene.h" -#include "COLLADASWSurface.h" +// #include "COLLADASWSurface.h" #include "COLLADASWTechnique.h" #include "COLLADASWTexture.h" #include "COLLADASWLibraryMaterials.h" @@ -982,6 +982,7 @@ public: } }; +#if 0 class EffectsExporter: COLLADASW::LibraryEffects { public: @@ -1182,6 +1183,7 @@ public: } } }; +#endif class MaterialsExporter: COLLADASW::LibraryMaterials { @@ -1249,6 +1251,7 @@ public: } }; +#if 0 class LightsExporter: COLLADASW::LibraryLights { public: @@ -1298,6 +1301,7 @@ public: } } }; +#endif // TODO: it would be better to instantiate animations rather than create a new one per object // COLLADA allows this through multiple s in . @@ -1542,17 +1546,21 @@ void DocumentExporter::exportCurrentScene(Scene *sce, const char* filename) CamerasExporter ce(&sw); ce.exportCameras(sce); +#if 0 // LightsExporter le(&sw); le.exportLights(sce); - +#endif + // ImagesExporter ie(&sw); ie.exportImages(sce); +#if 0 // EffectsExporter ee(&sw); ee.exportEffects(sce); +#endif // MaterialsExporter me(&sw);