Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string

This commit is contained in:
Alexander Bock
2021-05-17 00:23:15 +02:00
parent ccdc5a5dc3
commit 92432caed2
102 changed files with 431 additions and 389 deletions

View File

@@ -112,9 +112,9 @@ RenderableModelProjection::RenderableModelProjection(const ghoul::Dictionary& di
{
const Parameters p = codegen::bake<Parameters>(dictionary);
std::string file = absPath(p.geometryFile.string());
std::filesystem::path file = absPath(p.geometryFile.string());
_geometry = ghoul::io::ModelReader::ref().loadModel(
file,
file.string(),
ghoul::io::ModelReader::ForceRenderInvisible::No,
ghoul::io::ModelReader::NotifyInvisibleDropped::Yes
);