mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:28:09 +02:00
Fix OSX / Linux warning
This commit is contained in:
parent
945858876e
commit
75189e292d
1 changed files with 1 additions and 1 deletions
|
@ -1445,7 +1445,7 @@ void Rig::updateEyeJoint(int index, const glm::vec3& modelTranslation, const glm
|
||||||
|
|
||||||
// Update eye joint's children.
|
// Update eye joint's children.
|
||||||
auto children = index == _leftEyeJointIndex ? _leftEyeJointChildren : _rightEyeJointChildren;
|
auto children = index == _leftEyeJointIndex ? _leftEyeJointChildren : _rightEyeJointChildren;
|
||||||
for (int i = 0; i < children.size(); i++) {
|
for (int i = 0; i < (int)children.size(); i++) {
|
||||||
int jointIndex = children[i];
|
int jointIndex = children[i];
|
||||||
int parentIndex = _animSkeleton->getParentIndex(jointIndex);
|
int parentIndex = _animSkeleton->getParentIndex(jointIndex);
|
||||||
_internalPoseSet._absolutePoses[jointIndex] =
|
_internalPoseSet._absolutePoses[jointIndex] =
|
||||||
|
|
Loading…
Reference in a new issue