mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Fix multiple texture support for animated meshnodes.
This commit is contained in:
		@@ -1308,7 +1308,7 @@ public:
 | 
			
		||||
					}
 | 
			
		||||
 | 
			
		||||
					// Set material flags and texture
 | 
			
		||||
					m_animated_meshnode->setMaterialTexture(i, texture);
 | 
			
		||||
					m_animated_meshnode->getMaterial(i).TextureLayer[0].Texture = texture;
 | 
			
		||||
					video::SMaterial& material = m_animated_meshnode->getMaterial(i);
 | 
			
		||||
					material.setFlag(video::EMF_LIGHTING, false);
 | 
			
		||||
					material.setFlag(video::EMF_BILINEAR_FILTER, false);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user