forked from Mirrorlandia_minetest/minetest
Revert "Fix multiple texture support for animated meshnodes." (broke existing models)
This reverts commit 649dca4d16786ed4e5b74878f56b86dea4f02542.
This commit is contained in:
parent
7cb5217255
commit
bfa608b85e
@ -1308,7 +1308,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set material flags and texture
|
// Set material flags and texture
|
||||||
m_animated_meshnode->getMaterial(i).TextureLayer[0].Texture = texture;
|
m_animated_meshnode->setMaterialTexture(i, texture);
|
||||||
video::SMaterial& material = m_animated_meshnode->getMaterial(i);
|
video::SMaterial& material = m_animated_meshnode->getMaterial(i);
|
||||||
material.setFlag(video::EMF_LIGHTING, false);
|
material.setFlag(video::EMF_LIGHTING, false);
|
||||||
material.setFlag(video::EMF_BILINEAR_FILTER, false);
|
material.setFlag(video::EMF_BILINEAR_FILTER, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user