mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 14:56:38 +00:00 
			
		
		
		
	Ensure the material is properly built after creating it
This commit is contained in:
		
							parent
							
								
									1168f15361
								
							
						
					
					
						commit
						166d529c50
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -733,6 +733,7 @@ static Ogre::String getMaterial(const Nif::NiTriShape *shape, const Ogre::String | |||
|     instance->setProperty("transparent_sorting", sh::makeProperty(new sh::StringValue(((alphaFlags>>13)&1) ? | ||||
|                                                                                       "off" : "on"))); | ||||
| 
 | ||||
|     sh::Factory::getInstance()._ensureMaterial(matname, "Default"); | ||||
|     return matname; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue