[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22092] branches/soc-2009-chingachgook/ source/blender/collada/DocumentExporter.cpp: Disabled light and material exporting to make it compile with the latest OpenCollada .
Chingiz Dyussenov
chingiz.ds at gmail.com
Fri Jul 31 22:35:17 CEST 2009
Revision: 22092
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22092
Author: chingachgook
Date: 2009-07-31 22:35:14 +0200 (Fri, 31 Jul 2009)
Log Message:
-----------
Disabled light and material exporting to make it compile with the latest OpenCollada.
Modified Paths:
--------------
branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp
Modified: branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp
===================================================================
--- branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp 2009-07-31 19:48:28 UTC (rev 22091)
+++ branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp 2009-07-31 20:35:14 UTC (rev 22092)
@@ -52,7 +52,7 @@
#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 @@
}
};
+#if 0
class EffectsExporter: COLLADASW::LibraryEffects
{
public:
@@ -1182,6 +1183,7 @@
}
}
};
+#endif
class MaterialsExporter: COLLADASW::LibraryMaterials
{
@@ -1249,6 +1251,7 @@
}
};
+#if 0
class LightsExporter: COLLADASW::LibraryLights
{
public:
@@ -1298,6 +1301,7 @@
}
}
};
+#endif
// TODO: it would be better to instantiate animations rather than create a new one per object
// COLLADA allows this through multiple <channel>s in <animation>.
@@ -1542,17 +1546,21 @@
CamerasExporter ce(&sw);
ce.exportCameras(sce);
+#if 0
// <library_lights>
LightsExporter le(&sw);
le.exportLights(sce);
-
+#endif
+
// <library_images>
ImagesExporter ie(&sw);
ie.exportImages(sce);
+#if 0
// <library_effects>
EffectsExporter ee(&sw);
ee.exportEffects(sce);
+#endif
// <library_materials>
MaterialsExporter me(&sw);
More information about the Bf-blender-cvs
mailing list