Skip to content
Snippets Groups Projects
Commit 900db310 authored by Aaron Suen's avatar Aaron Suen Committed by est31
Browse files

Re-enable texture pre-filters on wielditems, fixing #3178.

parent 0cf15470
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment