mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 19:13:38 +02:00
Fix OSX / Linux warning
This commit is contained in:
parent
957d39b0b1
commit
5acc605ba0
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ int AnimSkeleton::getParentIndex(int jointIndex) const {
|
|||
QVector<int> AnimSkeleton::getChildrenOfJoint(int jointIndex) const {
|
||||
// Children and grandchildren, etc.
|
||||
QVector<int> result;
|
||||
for (int i = jointIndex + 1; i < _joints.size(); i++) {
|
||||
for (int i = jointIndex + 1; i < (int)_joints.size(); i++) {
|
||||
if (_joints[i].parentIndex == jointIndex || result.contains(_joints[i].parentIndex)) {
|
||||
result.push_back(i);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue