Use more filesystem::path where applicable

This commit is contained in:
Alexander Bock
2024-04-06 19:50:39 +02:00
parent 2af06fb641
commit 4328476d26
148 changed files with 712 additions and 705 deletions

View File

@@ -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));
}