mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Fix 4dir nodebox sometimes not rendering face (#14533)
This commit is contained in:
parent
00ef597639
commit
9f263319ca
2 changed files with 29 additions and 1 deletions
|
@ -1534,8 +1534,10 @@ void MapblockMeshGenerator::drawNodeboxNode()
|
|||
bool param2_is_rotation =
|
||||
cur_node.f->param_type_2 == CPT2_COLORED_FACEDIR ||
|
||||
cur_node.f->param_type_2 == CPT2_COLORED_WALLMOUNTED ||
|
||||
cur_node.f->param_type_2 == CPT2_COLORED_4DIR ||
|
||||
cur_node.f->param_type_2 == CPT2_FACEDIR ||
|
||||
cur_node.f->param_type_2 == CPT2_WALLMOUNTED;
|
||||
cur_node.f->param_type_2 == CPT2_WALLMOUNTED ||
|
||||
cur_node.f->param_type_2 == CPT2_4DIR;
|
||||
|
||||
bool param2_is_level =
|
||||
cur_node.f->param_type_2 == CPT2_LEVELED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue