mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 14:33:31 +02:00
assert fix
This commit is contained in:
parent
6a6ece8910
commit
58f95bd07b
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public:
|
|||
// iterate through the skeleton parents, from the tip to the base, copying over relativePoses into the chain.
|
||||
for (int jointIndex = tipIndex; jointIndex != -1; jointIndex = skeleton->getParentIndex(jointIndex)) {
|
||||
if (_top >= N) {
|
||||
assert(chainTop < N);
|
||||
assert(_top < N);
|
||||
// stack overflow
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue