Merge branch 'master' of https://git.frank-ebner.de/FHWS/Indoor
This commit is contained in:
@@ -57,7 +57,6 @@ namespace Ray3D {
|
||||
scanFolder(folder);
|
||||
} catch (...) {;}
|
||||
}
|
||||
initDone = true;
|
||||
|
||||
}
|
||||
|
||||
@@ -89,9 +88,9 @@ namespace Ray3D {
|
||||
}
|
||||
|
||||
for (std::experimental::filesystem::directory_entry entry : std::experimental::filesystem::directory_iterator(d)) {
|
||||
const std::string absFile = entry.path().native();
|
||||
const std::string absFile = entry.path().string();
|
||||
if (endsWith(absFile, ".obj")) {
|
||||
std::string name = entry.path().filename();
|
||||
std::string name = entry.path().filename().string();
|
||||
name = name.substr(0, name.length() - 4); // without extension
|
||||
load(absFile, name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user