mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Revert "Plantlike: Fix visual_scale being applied squared (#5115)"
This reverts commit 953cbb3b15.
			
			
This commit is contained in:
		@@ -1602,6 +1602,8 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
				for (int i = 0; i < 4; i++) {
 | 
			
		||||
					vertices[i].Pos *= f.visual_scale;
 | 
			
		||||
					vertices[i].Pos.Y += BS/2 * (f.visual_scale - 1);
 | 
			
		||||
					if (data->m_smooth_lighting)
 | 
			
		||||
						vertices[i].Color = blendLight(frame, vertices[i].Pos, tile.color);
 | 
			
		||||
					vertices[i].Pos += intToFloat(p, BS);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user