Fix transition from AG+Rig to AG only.

This commit is contained in:
Anthony J. Thibault 2015-09-04 11:03:59 -07:00
parent df28c7bf1a
commit 3f258c89b4
2 changed files with 1 additions and 1 deletions

View file

@ -187,7 +187,6 @@ void Rig::deleteAnimations() {
removeAnimationHandle(animation);
}
_animationHandles.clear();
destroyAnimGraph();
}
void Rig::destroyAnimGraph() {

View file

@ -1419,6 +1419,7 @@ void Model::deleteGeometry() {
_rig->clearJointStates();
_meshStates.clear();
_rig->deleteAnimations();
_rig->destroyAnimGraph();
_blendedBlendshapeCoefficients.clear();
}