Commit 501ed34e authored by hybrid's avatar hybrid

Simplify filepath.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1787 dfc29bdd-3216-0410-991c-e03cc46cb475
parent b5626262
......@@ -86,6 +86,9 @@ IAnimatedMesh* CMY3DMeshFileLoader::createMesh(io::IReadFile* file)
// working directory (from which we load the scene)
core::stringc filepath = FileSystem->getFileDir(file->getFileName());
if (filepath==".")
filepath="";
else
filepath.append("/");
// read file into memory
......
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