Skip to content
Permalink
Browse files

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

  • Loading branch information
Warr1024 authored and est31 committed Sep 14, 2015
1 parent 0cf1547 commit 900db310638531a8b9fb1a587f75a02a15ae0c24
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 900db31

Please sign in to comment.
You can’t perform that action at this time.