Showing the changes to interface/src/avatar/SkeletonModel.cpp (1 of 4 files). Show all
Unified · Split
| @@ -200,7 +200,7 @@ void SkeletonModel::updateJointState(int index) { · 199 unmodified lines | |||
| 200 | } | 200 | } |
| 201 | 201 | ||
| 202 | void SkeletonModel::maybeUpdateLeanRotation(const JointState& parentState, const FBXJoint& joint, JointState& state) { | 202 | void SkeletonModel::maybeUpdateLeanRotation(const JointState& parentState, const FBXJoint& joint, JointState& state) { |
| 203 | if (!_owningAvatar->isMyAvatar()) { | 203 | if (!_owningAvatar->isMyAvatar() || Application::getInstance()->getPrioVR()->isActive()) { |
| 204 | return; | 204 | return; |
| 205 | } | 205 | } |
| 206 | // get the rotation axes in joint space and use them to adjust the rotation | 206 | // get the rotation axes in joint space and use them to adjust the rotation |