Commit 45a75b6b authored by hybrid's avatar hybrid

Fix variable to io::path for proper handling of WCHAR filesystem. Thanks to greenya for fix.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4519 dfc29bdd-3216-0410-991c-e03cc46cb475
parent a287977b
......@@ -64,7 +64,7 @@ bool COBJMeshWriter::writeMesh(io::IWriteFile* file, scene::IMesh* mesh, s32 fla
// write OBJ MESH header
core::stringc name;
io::path name;
core::cutFilenameExtension(name,file->getFileName()) += ".mtl";
file->write("# exported by Irrlicht\n",23);
file->write("mtllib ",7);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment