diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index 306df3b76..59bf4bfd9 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -1184,7 +1184,7 @@ void Registry::convertStringPathIntoFilePathList(const std::string& paths,FilePa start = end+1; } - filepath.push_back(std::string(paths,start)); + filepath.push_back(std::string(paths,start,std::string::npos)); } }