[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20694] branches/soc-2009-chingachgook/ source/blender/collada/DocumentExporter.cpp: Previous commit would not build.
Chingiz Dyussenov
chingiz.ds at gmail.com
Sun Jun 7 07:53:40 CEST 2009
Revision: 20694
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20694
Author: chingachgook
Date: 2009-06-07 07:53:40 +0200 (Sun, 07 Jun 2009)
Log Message:
-----------
Previous commit would not build.
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-06-07 05:14:25 UTC (rev 20693)
+++ branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp 2009-06-07 05:53:40 UTC (rev 20694)
@@ -195,7 +195,6 @@
}
};
-
class SceneExporter: COLLADASW::LibraryVisualScenes
{
public:
@@ -275,14 +274,16 @@
void DocumentExporter::exportCurrentScene(Scene *sce, const char* filename)
{
- COLLADASW::StreamWriter sw(COLLADABU::NativeString(COLLADABU::String(filename)));
+ COLLADABU::NativeString native_filename =
+ COLLADABU::NativeString(std::string(filename));
+ COLLADASW::StreamWriter sw(native_filename);
//open <Collada>
sw.startDocument();
//<asset>
- Asset asset(&sw);
- asset.setUpAxisType(Asset::Z_UP);
+ COLLADASW::Asset asset(&sw);
+ asset.setUpAxisType(COLLADASW::Asset::Z_UP);
asset.add();
SceneExporter se(&sw);
More information about the Bf-blender-cvs
mailing list