Skip to content

Commit 900db31

Browse files
Warr1024est31
authored andcommittedNov 24, 2015
Re-enable texture pre-filters on wielditems, fixing #3178.
1 parent 0cf1547 commit 900db31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/wieldmesh.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void WieldMeshSceneNode::setExtruded(const std::string &imagename,
283283

284284
// Customize material
285285
video::SMaterial &material = m_meshnode->getMaterial(0);
286-
material.setTexture(0, tsrc->getTexture(imagename));
286+
material.setTexture(0, tsrc->getTextureForMesh(imagename));
287287
material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
288288
material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
289289
material.MaterialType = m_material_type;

0 commit comments

Comments
 (0)