Showing the changes to interface/src/avatar/SkeletonModel.cpp (1 of 33 files). Show all
Unified · Split
| @@ -323,7 +323,7 @@ void SkeletonModel::applyHandPosition(int jointIndex, const glm::vec3& position) · 322 unmodified lines | |||
| 323 | float sign = (jointIndex == geometry.rightHandJointIndex) ? 1.0f : -1.0f; | 323 | float sign = (jointIndex == geometry.rightHandJointIndex) ? 1.0f : -1.0f; |
| 324 | _rig->applyJointRotationDelta(jointIndex, | 324 | _rig->applyJointRotationDelta(jointIndex, |
| 325 | rotationBetween(handRotation * glm::vec3(-sign, 0.0f, 0.0f), forearmVector), | 325 | rotationBetween(handRotation * glm::vec3(-sign, 0.0f, 0.0f), forearmVector), |
| 326 | true, PALM_PRIORITY); | 326 | PALM_PRIORITY); |
| 327 | } | 327 | } |
| 328 | 328 | ||
| 329 | void SkeletonModel::applyPalmData(int jointIndex, PalmData& palm) { | 329 | void SkeletonModel::applyPalmData(int jointIndex, PalmData& palm) { |