diff options
author | Aaron Suen <warr1024@gmail.com> | 2015-09-13 21:04:22 -0400 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-11-24 03:22:31 +0100 |
commit | 900db310638531a8b9fb1a587f75a02a15ae0c24 (patch) | |
tree | e8f1c09c8c72352665d48cfbdb124c571f16d9fc /src | |
parent | 0cf15470fc16e1ebc13a7d8445cfd4278c3caf8b (diff) | |
download | minetest-900db310638531a8b9fb1a587f75a02a15ae0c24.tar.gz minetest-900db310638531a8b9fb1a587f75a02a15ae0c24.tar.bz2 minetest-900db310638531a8b9fb1a587f75a02a15ae0c24.zip |
Re-enable texture pre-filters on wielditems, fixing #3178.
Diffstat (limited to 'src')
-rw-r--r-- | src/wieldmesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wieldmesh.cpp b/src/wieldmesh.cpp index bc2977a0e..a022754a6 100644 --- a/src/wieldmesh.cpp +++ b/src/wieldmesh.cpp @@ -283,7 +283,7 @@ void WieldMeshSceneNode::setExtruded(const std::string &imagename, // Customize material video::SMaterial &material = m_meshnode->getMaterial(0); - material.setTexture(0, tsrc->getTexture(imagename)); + material.setTexture(0, tsrc->getTextureForMesh(imagename)); material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE; material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE; material.MaterialType = m_material_type; |