Fixed a pathname separator issue on Mac OS X.
Class FileSystemFilter was sometimes using a backslash as pathname separator even on Mac OS X, where that character is not allowed in pathnames. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@630 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
a84774cbe2
commit
7877f3fe6f
|
@ -78,10 +78,11 @@ public:
|
||||||
char s;
|
char s;
|
||||||
|
|
||||||
if (base.length() == 0) {
|
if (base.length() == 0) {
|
||||||
base = ".\\";
|
base = ".";
|
||||||
|
base += getOsSeparator();
|
||||||
}
|
}
|
||||||
else if ((s = *(base.end()-1)) != '\\' && s != '/')
|
else if ((s = *(base.end()-1)) != '\\' && s != '/')
|
||||||
base.append("\\");
|
base += getOsSeparator();
|
||||||
|
|
||||||
DefaultLogger::get()->info("Import root directory is \'" + base + "\'");
|
DefaultLogger::get()->info("Import root directory is \'" + base + "\'");
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define SVNRevision 613
|
#define SVNRevision 630
|
||||||
|
|
Loading…
Reference in New Issue