mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-30 20:53:45 +01:00
Refactor: Remove obsolete IAnimatedMeshSceneNode interface (#16631)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "IImageLoader.h"
|
||||
#include "IImageWriter.h"
|
||||
#include "IMaterialRenderer.h"
|
||||
#include "IAnimatedMeshSceneNode.h"
|
||||
#include "AnimatedMeshSceneNode.h"
|
||||
#include "CMeshManipulator.h"
|
||||
#include "CColorConverter.h"
|
||||
#include "IReferenceCounted.h"
|
||||
@@ -1244,7 +1244,7 @@ void CNullDriver::addOcclusionQuery(scene::ISceneNode *node, const scene::IMesh
|
||||
else if (node->getType() == scene::ESNT_MESH)
|
||||
mesh = static_cast<scene::IMeshSceneNode *>(node)->getMesh();
|
||||
else
|
||||
mesh = static_cast<scene::IAnimatedMeshSceneNode *>(node)->getMesh();
|
||||
mesh = static_cast<scene::AnimatedMeshSceneNode *>(node)->getMesh();
|
||||
if (!mesh)
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user