assert fix

This commit is contained in:
Anthony J. Thibault 2018-07-30 13:14:32 -07:00
parent 6a6ece8910
commit 58f95bd07b

View file

@ -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;
}