mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user