forked from mirror/openmw-tes3mp
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:
parent
e093a30736
commit
13a6070629
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue