mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-11 05:20:14 -04:00
Minor fix for error handling in skeleton.cpp
This commit is contained in:
parent
bd68ebac62
commit
624809c8dc
@ -162,6 +162,7 @@ void Bone::update(const osg::Matrixf* parentMatrixInSkeletonSpace)
|
|||||||
if (!mNode)
|
if (!mNode)
|
||||||
{
|
{
|
||||||
std::cerr << "Bone without node " << std::endl;
|
std::cerr << "Bone without node " << std::endl;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (parentMatrixInSkeletonSpace)
|
if (parentMatrixInSkeletonSpace)
|
||||||
mMatrixInSkeletonSpace = mNode->getMatrix() * (*parentMatrixInSkeletonSpace);
|
mMatrixInSkeletonSpace = mNode->getMatrix() * (*parentMatrixInSkeletonSpace);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user