mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use Irrlicht's mesh cache for animated meshes.
Fixes #6676. Allow animated meshes to be cached in Irrlicht's builtin mesh cache. Use Material.EmmissiveColor instead of manipulating the mesh' vertex colors.
This commit is contained in:
parent
f470cb7270
commit
fd9f195fcc
5 changed files with 25 additions and 9 deletions
|
@ -376,7 +376,7 @@ public:
|
|||
virtual ParticleManager* getParticleManager();
|
||||
bool checkLocalPrivilege(const std::string &priv)
|
||||
{ return checkPrivilege(priv); }
|
||||
virtual scene::IAnimatedMesh* getMesh(const std::string &filename);
|
||||
virtual scene::IAnimatedMesh* getMesh(const std::string &filename, bool cache = false);
|
||||
const std::string* getModFile(const std::string &filename);
|
||||
|
||||
virtual std::string getModStoragePath() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue