From: Aaron Suen Date: Mon, 14 Sep 2015 01:04:22 +0000 (-0400) Subject: Re-enable texture pre-filters on wielditems, fixing #3178. X-Git-Tag: 0.4.14~414 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=900db310638531a8b9fb1a587f75a02a15ae0c24;p=oweals%2Fminetest.git Re-enable texture pre-filters on wielditems, fixing #3178. --- 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;