Fix scene nodes not dropping meshes (memleak)

This commit is contained in:
Lars Mueller 2024-01-13 17:55:41 +01:00
parent 7df45b4cf3
commit a3ec3a88e8

View File

@ -51,6 +51,8 @@ CAnimatedMeshSceneNode::~CAnimatedMeshSceneNode()
{
if (LoopCallBack)
LoopCallBack->drop();
if (Mesh)
Mesh->drop();
}