mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
clang warning fix
This commit is contained in:
parent
937f308ba8
commit
4336e22f5a
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ const AnimPoseVec& AnimInverseKinematics::overlay(const AnimVariantMap& animVars
|
|||
{
|
||||
PROFILE_RANGE_EX(simulation_animation, "ik/shiftHips", 0xffff00ff, 0);
|
||||
|
||||
if (_hipsTargetIndex >= 0 && _hipsTargetIndex < targets.size()) {
|
||||
if (_hipsTargetIndex >= 0 && _hipsTargetIndex < (int)targets.size()) {
|
||||
// slam the hips to match the _hipsTarget
|
||||
AnimPose absPose = targets[_hipsTargetIndex].getPose();
|
||||
int parentIndex = _skeleton->getParentIndex(targets[_hipsTargetIndex].getIndex());
|
||||
|
|
Loading…
Reference in a new issue