From 900db310638531a8b9fb1a587f75a02a15ae0c24 Mon Sep 17 00:00:00 2001 From: Aaron Suen Date: Sun, 13 Sep 2015 21:04:22 -0400 Subject: Re-enable texture pre-filters on wielditems, fixing #3178. --- src/wieldmesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3