mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Remove useless recalculation of bounding box (mapblock_mesh)
This commit is contained in:
		
				
					committed by
					
						
						Kahrl
					
				
			
			
				
	
			
			
			
						parent
						
							0b20768a24
						
					
				
				
					commit
					816ffa99ba
				
			@@ -1199,7 +1199,6 @@ MapBlockMesh::MapBlockMesh(MeshMakeData *data):
 | 
			
		||||
	*/
 | 
			
		||||
 | 
			
		||||
	translateMesh(m_mesh, intToFloat(data->m_blockpos * MAP_BLOCKSIZE, BS));
 | 
			
		||||
	m_mesh->recalculateBoundingBox(); // translateMesh already does this
 | 
			
		||||
 | 
			
		||||
	if(m_mesh)
 | 
			
		||||
	{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user