mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 19:50:03 -06:00
Use more filesystem::path where applicable
This commit is contained in:
@@ -355,7 +355,7 @@ RenderableModel::RenderableModel(const ghoul::Dictionary& dictionary)
|
||||
}
|
||||
}
|
||||
|
||||
_file = absPath(p.geometryFile.string());
|
||||
_file = absPath(p.geometryFile);
|
||||
if (!std::filesystem::exists(_file)) {
|
||||
throw ghoul::RuntimeError(std::format("Cannot find model file '{}'", _file));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user