From f128f4cba14aad9c7bbf46b79bb6147a49a3595b Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Sat, 7 May 2022 19:41:11 +0200 Subject: [PATCH] Fix mapblock geometry optimisation not working Caused by the depth sorting PR marking not only transparent nodes to be ignored but also opaque ones with the TILE_MATERIAL_BASIC material type --- src/client/tile.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/tile.h b/src/client/tile.h index 88ff91f8e..e55a26e56 100644 --- a/src/client/tile.h +++ b/src/client/tile.h @@ -263,7 +263,6 @@ struct TileLayer bool isTransparent() const { switch (material_type) { - case TILE_MATERIAL_BASIC: case TILE_MATERIAL_ALPHA: case TILE_MATERIAL_LIQUID_TRANSPARENT: case TILE_MATERIAL_WAVING_LIQUID_TRANSPARENT: