Skip to content

Commit

Permalink
Fix mapblock geometry optimisation not working
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rollerozxa authored and sfan5 committed May 8, 2022
1 parent 6f0c966 commit f128f4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/client/tile.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f128f4c

Please sign in to comment.