diff options
author | stujones11 <stujones11@server.fake> | 2013-06-11 21:40:59 +0100 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-07-10 00:22:21 +0200 |
commit | e8f201cefa073f04d3c1e56855d8676b607e3d5d (patch) | |
tree | 506b0e2c24f32c6e18fbdf88049b006e5a146b27 | |
parent | 1c7c5d571de3db6d739b9b2006e17bc6a8d9408c (diff) | |
download | minetest-e8f201cefa073f04d3c1e56855d8676b607e3d5d.tar.gz minetest-e8f201cefa073f04d3c1e56855d8676b607e3d5d.tar.bz2 minetest-e8f201cefa073f04d3c1e56855d8676b607e3d5d.zip |
Fix multiple texture support for animated meshnodes
-rw-r--r-- | src/content_cao.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp index ece284343..7c7699242 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -1308,8 +1308,8 @@ public: } // Set material flags and texture - m_animated_meshnode->setMaterialTexture(i, texture); video::SMaterial& material = m_animated_meshnode->getMaterial(i); + material.TextureLayer[0].Texture = texture; material.setFlag(video::EMF_LIGHTING, false); material.setFlag(video::EMF_BILINEAR_FILTER, false); |