mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
can now override the eye rotation when procedural eye movement is turned off
This commit is contained in:
parent
1d5f9cc0ec
commit
d963ec3005
1 changed files with 3 additions and 1 deletions
|
@ -334,7 +334,9 @@ void MySkeletonModel::updateRig(float deltaTime, glm::mat4 parentTransform) {
|
|||
eyeParams.leftEyeJointIndex = _rig.indexOfJoint("LeftEye");
|
||||
eyeParams.rightEyeJointIndex = _rig.indexOfJoint("RightEye");
|
||||
|
||||
_rig.updateFromEyeParameters(eyeParams);
|
||||
if (_owningAvatar->getHasProceduralEyeFaceMovement()) {
|
||||
_rig.updateFromEyeParameters(eyeParams);
|
||||
}
|
||||
|
||||
updateFingers();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue