Added new utilities for handling different '/' and '\' entries.
This commit is contained in:
@@ -171,6 +171,9 @@ std::string osgDB::findFileInPath(const std::string& filename, const FilePathLis
|
||||
if (filename.empty())
|
||||
return filename;
|
||||
|
||||
if (!isFileNameNativeStyle(filename))
|
||||
return findFileInPath(convertFileNameToNativeStyle(filename), filepath, caseSensitivity);
|
||||
|
||||
|
||||
for(FilePathList::const_iterator itr=filepath.begin();
|
||||
itr!=filepath.end();
|
||||
|
||||
Reference in New Issue
Block a user