mirror of
https://github.com/minetest/irrlicht.git
synced 2025-01-27 10:10:21 +01:00
Fix null dereference reported by coverity (#115)
This commit is contained in:
parent
6064e12133
commit
6db035e0aa
@ -276,6 +276,7 @@ void CAnimatedMeshSceneNode::render()
|
|||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
os::Printer::log("Animated Mesh returned no mesh to render.", Mesh->getDebugName(), ELL_WARNING);
|
os::Printer::log("Animated Mesh returned no mesh to render.", Mesh->getDebugName(), ELL_WARNING);
|
||||||
#endif
|
#endif
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
driver->setTransform(video::ETS_WORLD, AbsoluteTransformation);
|
driver->setTransform(video::ETS_WORLD, AbsoluteTransformation);
|
||||||
|
Loading…
Reference in New Issue
Block a user