mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-29 07:19:28 -05:00
Adjust to the new structure when loading list of models
* Update Ghoul
This commit is contained in:
+1
-1
Submodule ext/ghoul updated: ab82304571...5259155592
@@ -260,7 +260,12 @@ RenderableModel::RenderableModel(const ghoul::Dictionary& dictionary)
|
|||||||
combinedGeometry.meshes().push_back(
|
combinedGeometry.meshes().push_back(
|
||||||
std::move(geometries[i]->meshes()[m])
|
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>(
|
_geometry = std::make_unique<ghoul::modelgeometry::ModelGeometry>(
|
||||||
|
|||||||
Reference in New Issue
Block a user