mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-02 09:41:13 -06:00
Adjust to the new structure when loading list of models
* Update Ghoul
This commit is contained in:
@@ -260,7 +260,12 @@ RenderableModel::RenderableModel(const ghoul::Dictionary& dictionary)
|
||||
combinedGeometry.meshes().push_back(
|
||||
std::move(geometries[i]->meshes()[m])
|
||||
);
|
||||
}
|
||||
|
||||
for (unsigned int t = 0; t < geometries[i]->textureStorage().size(); ++t) {
|
||||
combinedGeometry.textureStorage().push_back(
|
||||
std::move(geometries[i]->textureStorage()[t])
|
||||
);
|
||||
}
|
||||
}
|
||||
_geometry = std::make_unique<ghoul::modelgeometry::ModelGeometry>(
|
||||
|
||||
Reference in New Issue
Block a user