diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2012-10-08 16:59:12 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2012-10-08 16:59:12 +0400 |
commit | 018195ffae81099aafe99b26607688d3aef7c977 (patch) | |
tree | 5c6bc0de84984ec837a954109491c8e08e2e587f /source/blender/collada | |
parent | 4a5f09fc6556746a7eb209c60e9259fdec37dcad (diff) |
fix:[#32784] Crash when Exporting to Collada file (.dae) (was a utf8-character conversion problem)
Diffstat (limited to 'source/blender/collada')
-rw-r--r-- | source/blender/collada/DocumentExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/DocumentExporter.cpp b/source/blender/collada/DocumentExporter.cpp index 7683ec1e9cd..bd7ad16dabd 100644 --- a/source/blender/collada/DocumentExporter.cpp +++ b/source/blender/collada/DocumentExporter.cpp @@ -160,7 +160,7 @@ void DocumentExporter::exportCurrentScene(Scene *sce) clear_global_id_map(); COLLADABU::NativeString native_filename = - COLLADABU::NativeString(std::string(this->export_settings->filepath)); + COLLADABU::NativeString(std::string(this->export_settings->filepath), COLLADABU::NativeString::ENCODING_UTF8); COLLADASW::StreamWriter sw(native_filename); fprintf(stdout, "Collada export: %s\n", this->export_settings->filepath); |