projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cf1547
)
Re-enable texture pre-filters on wielditems, fixing #3178.
author
Aaron Suen
<warr1024@gmail.com>
Mon, 14 Sep 2015 01:04:22 +0000
(21:04 -0400)
committer
est31
<MTest31@outlook.com>
Tue, 24 Nov 2015 02:22:31 +0000
(
03:22
+0100)
src/wieldmesh.cpp
patch
|
blob
|
history
diff --git
a/src/wieldmesh.cpp
b/src/wieldmesh.cpp
index bc2977a0e2a0fe48c37e914bb9ded7af8e7c6a08..a022754a6864da4fce61ad64285043caa00723f7 100644
(file)
--- 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->getTexture
ForMesh
(imagename));
material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
material.MaterialType = m_material_type;