1
0
의 미러 https://github.com/minetest/minetest.git synced 2025-07-06 01:40:21 +02:00

Revert "Fix multiple texture support for animated meshnodes." (broke existing models)

This reverts commit 649dca4d16.
This commit is contained in:
PilzAdam
2013-06-06 17:13:41 +00:00
부모 7cb5217255
커밋 bfa608b85e

파일 보기

@ -1308,7 +1308,7 @@ public:
}
// 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);
material.setFlag(video::EMF_LIGHTING, false);
material.setFlag(video::EMF_BILINEAR_FILTER, false);