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
+1 -1
View File
@@ -285,7 +285,7 @@ RenderableModel::RenderableModel(const ghoul::Dictionary& dictionary)
}
}
std::string file = absPath(p.geometryFile.string());
std::string file = absPath(p.geometryFile.string()).string();
_geometry = ghoul::io::ModelReader::ref().loadModel(
file,
ghoul::io::ModelReader::ForceRenderInvisible(_forceRenderInvisible),