From fd9f195fcc2e4e592dbad3290876486eb08318b2 Mon Sep 17 00:00:00 2001 From: Lars Hofhansl Date: Mon, 4 Dec 2017 22:25:09 -0800 Subject: 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. --- src/client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 36f564086..d8b56b0b3 100644 --- a/src/client.h +++ b/src/client.h @@ -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; -- cgit v1.2.3