mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Recalculate normals for cached meshes.
Check if mesh is here before adding to meshcollector. Fix deleting the meshes.
This commit is contained in:
parent
9029a34cc6
commit
d221917170
7 changed files with 44 additions and 17 deletions
|
@ -33,6 +33,7 @@ class MtEventManager;
|
|||
class IRollbackReportSink;
|
||||
namespace irr { namespace scene {
|
||||
class IAnimatedMesh;
|
||||
class ISceneManager;
|
||||
}}
|
||||
|
||||
/*
|
||||
|
@ -63,6 +64,7 @@ public:
|
|||
virtual MtEventManager* getEventManager()=0;
|
||||
virtual scene::IAnimatedMesh* getMesh(const std::string &filename)
|
||||
{ return NULL; }
|
||||
virtual scene::ISceneManager* getSceneManager()=0;
|
||||
|
||||
// Only usable on the server, and NOT thread-safe. It is usable from the
|
||||
// environment thread.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue