mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Fix transition from AG+Rig to AG only.
This commit is contained in:
parent
df28c7bf1a
commit
3f258c89b4
2 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,6 @@ void Rig::deleteAnimations() {
|
|||
removeAnimationHandle(animation);
|
||||
}
|
||||
_animationHandles.clear();
|
||||
destroyAnimGraph();
|
||||
}
|
||||
|
||||
void Rig::destroyAnimGraph() {
|
||||
|
|
|
@ -1419,6 +1419,7 @@ void Model::deleteGeometry() {
|
|||
_rig->clearJointStates();
|
||||
_meshStates.clear();
|
||||
_rig->deleteAnimations();
|
||||
_rig->destroyAnimGraph();
|
||||
_blendedBlendshapeCoefficients.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue