Remove warning spam in skeleton.cpp

If the root bone is missing, that is caused by all bones being missing which will have been logged already.
This commit is contained in:
scrawl 2017-01-28 00:45:23 +01:00
parent e093a30736
commit 13a6070629

View file

@ -127,8 +127,6 @@ void Skeleton::updateBoneMatrices(unsigned int traversalNumber)
for (unsigned int i=0; i<mRootBone->mChildren.size(); ++i) for (unsigned int i=0; i<mRootBone->mChildren.size(); ++i)
mRootBone->mChildren[i]->update(NULL); mRootBone->mChildren[i]->update(NULL);
} }
else
std::cerr << "Error: no root bone" << std::endl;
mNeedToUpdateBoneMatrices = false; mNeedToUpdateBoneMatrices = false;
} }