* Deleted AnimationHandle class * Removed enableAnimGraph and anableRigAnimations from Menu. * Removed *some* references to old IK system. But it is still used when computing collision bounding volumes
Showing the changes to interface/src/Application.cpp (1 of 13 files). Show all
Unified · Split
| @@ -2503,17 +2503,11 @@ void Application::setAvatarUpdateThreading(bool isThreaded) { · 2502 unmodified lines | |||
| 2503 | } | 2503 | } |
| 2504 | 2504 | ||
| 2505 | auto myAvatar = getMyAvatar(); | 2505 | auto myAvatar = getMyAvatar(); |
| 2506 | bool isRigEnabled = myAvatar->getEnableRigAnimations(); | ||
| 2507 | bool isGraphEnabled = myAvatar->getEnableAnimGraph(); | ||
| 2508 | if (_avatarUpdate) { | 2506 | if (_avatarUpdate) { |
| 2509 | _avatarUpdate->terminate(); // Must be before we shutdown anim graph. | 2507 | _avatarUpdate->terminate(); // Must be before we shutdown anim graph. |
| 2510 | } | 2508 | } |
| 2511 | myAvatar->setEnableRigAnimations(false); | ||
| 2512 | myAvatar->setEnableAnimGraph(false); | ||
| 2513 | _avatarUpdate = new AvatarUpdate(); | 2509 | _avatarUpdate = new AvatarUpdate(); |
| 2514 | _avatarUpdate->initialize(isThreaded); | 2510 | _avatarUpdate->initialize(isThreaded); |
| 2515 | myAvatar->setEnableRigAnimations(isRigEnabled); | ||
| 2516 | myAvatar->setEnableAnimGraph(isGraphEnabled); | ||
| 2517 | } | 2511 | } |
| 2518 | 2512 | ||
| 2519 | void Application::updateLOD() { | 2513 | void Application::updateLOD() { |