summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorLars Hofhansl <larsh@apache.org>2017-12-04 22:25:09 -0800
committerLars Hofhansl <larsh@apache.org>2017-12-04 22:29:11 -0800
commitfd9f195fcc2e4e592dbad3290876486eb08318b2 (patch)
tree5e8df8c8057e1a268f700541f8efdf2e4174a2ce /src/client.h
parentf470cb7270560a26afff0a0eadfc69070236c109 (diff)
downloadminetest-fd9f195fcc2e4e592dbad3290876486eb08318b2.tar.gz
minetest-fd9f195fcc2e4e592dbad3290876486eb08318b2.tar.bz2
minetest-fd9f195fcc2e4e592dbad3290876486eb08318b2.zip
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.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h2
1 files changed, 1 insertions, 1 deletions
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;