We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cb5217 commit bfa608bCopy full SHA for bfa608b
src/content_cao.cpp
@@ -1308,7 +1308,7 @@ class GenericCAO : public ClientActiveObject
1308
}
1309
1310
// Set material flags and texture
1311
- m_animated_meshnode->getMaterial(i).TextureLayer[0].Texture = texture;
+ m_animated_meshnode->setMaterialTexture(i, texture);
1312
video::SMaterial& material = m_animated_meshnode->getMaterial(i);
1313
material.setFlag(video::EMF_LIGHTING, false);
1314
material.setFlag(video::EMF_BILINEAR_FILTER, false);
0 commit comments