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.
0.6.1
scrawl 8 years ago
parent e093a30736
commit 13a6070629

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

Loading…
Cancel
Save