1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

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)
mRootBone->mChildren[i]->update(NULL);
}
else
std::cerr << "Error: no root bone" << std::endl;
mNeedToUpdateBoneMatrices = false;
}