diff options
author | ROllerozxa <temporaryemail4meh+github@gmail.com> | 2022-05-07 19:41:11 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-05-08 19:11:44 +0200 |
commit | f128f4cba14aad9c7bbf46b79bb6147a49a3595b (patch) | |
tree | 962c0ff4d9d29a2dac3649eea4304a2d23b33a3a /src/client | |
parent | 6f0c966877f83f585c6b3fd26f8b70e5d22525b3 (diff) | |
download | minetest-f128f4cba14aad9c7bbf46b79bb6147a49a3595b.tar.gz minetest-f128f4cba14aad9c7bbf46b79bb6147a49a3595b.tar.bz2 minetest-f128f4cba14aad9c7bbf46b79bb6147a49a3595b.zip |
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
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/tile.h | 1 |
1 files changed, 0 insertions, 1 deletions
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: |