mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:41:20 +02:00
warning fix
This commit is contained in:
parent
2814c94582
commit
d4122cff5a
1 changed files with 1 additions and 1 deletions
|
@ -1733,7 +1733,7 @@ void AnimInverseKinematics::initRelativePosesFromSolutionSource(SolutionSource s
|
||||||
case SolutionSource::RelaxToLimitCenterPoses:
|
case SolutionSource::RelaxToLimitCenterPoses:
|
||||||
blendToPoses(_limitCenterPoses, underPoses, RELAX_BLEND_FACTOR);
|
blendToPoses(_limitCenterPoses, underPoses, RELAX_BLEND_FACTOR);
|
||||||
// special case for hips: copy over hips pose whether or not IK is enabled.
|
// special case for hips: copy over hips pose whether or not IK is enabled.
|
||||||
if (_hipsIndex >= 0 && _hipsIndex < _relativePoses.size()) {
|
if (_hipsIndex >= 0 && _hipsIndex < (int)_relativePoses.size()) {
|
||||||
_relativePoses[_hipsIndex] = _limitCenterPoses[_hipsIndex];
|
_relativePoses[_hipsIndex] = _limitCenterPoses[_hipsIndex];
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue