mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 10:57:25 +02:00
fix render item leak on Model::reset()
This commit is contained in:
parent
684b9f5f10
commit
e47b049200
1 changed files with 0 additions and 3 deletions
|
@ -135,9 +135,6 @@ void Model::reset() {
|
||||||
const FBXGeometry& geometry = _geometry->getFBXGeometry();
|
const FBXGeometry& geometry = _geometry->getFBXGeometry();
|
||||||
_rig->reset(geometry.joints);
|
_rig->reset(geometry.joints);
|
||||||
}
|
}
|
||||||
_meshGroupsKnown = false;
|
|
||||||
_readyWhenAdded = false; // in case any of our users are using scenes
|
|
||||||
invalidCalculatedMeshBoxes(); // if we have to reload, we need to assume our mesh boxes are all invalid
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Model::updateGeometry() {
|
bool Model::updateGeometry() {
|
||||||
|
|
Loading…
Reference in a new issue