mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 18:35:04 +02:00
release geometry refs in Model::deleteGeometry()
This commit is contained in:
parent
7280992806
commit
d876251f1e
1 changed files with 2 additions and 0 deletions
|
@ -1192,6 +1192,8 @@ void Model::deleteGeometry() {
|
|||
_meshStates.clear();
|
||||
_rig->destroyAnimGraph();
|
||||
_blendedBlendshapeCoefficients.clear();
|
||||
_renderGeometry.reset();
|
||||
_collisionGeometry.reset();
|
||||
}
|
||||
|
||||
AABox Model::getRenderableMeshBound() const {
|
||||
|
|
Loading…
Reference in a new issue