Fixed 'invisible tree' bug (which was caused by the textures having u/v-wrap defined).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4113 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2009-10-13 12:11:32 +00:00
parent 3f1baf81b1
commit c5c7f3d37c

View File

@@ -138,8 +138,6 @@ void Material::setMaterialProperties(video::SMaterial *m) const
m->MaterialType = video::EMT_SPHERE_MAP;
else if(m_alpha_blending)
m->MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL;
if(m_clamp_tex)
m->setFlag(video::EMF_TEXTURE_WRAP, video::ETC_CLAMP);
// FIXME: more parameters need to be set!
} // setMaterialProperties