Minor fix for error handling in skeleton.cpp

openmw-38
scrawl 9 years ago
parent bd68ebac62
commit 624809c8dc

@ -162,6 +162,7 @@ void Bone::update(const osg::Matrixf* parentMatrixInSkeletonSpace)
if (!mNode)
{
std::cerr << "Bone without node " << std::endl;
return;
}
if (parentMatrixInSkeletonSpace)
mMatrixInSkeletonSpace = mNode->getMatrix() * (*parentMatrixInSkeletonSpace);

Loading…
Cancel
Save