hide wall bottom faces in 3d rendering without full levels
This commit is contained in:
parent
685a11cde2
commit
ca213688bf
1 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,8 @@ class MapRenderer:
|
|||
walls = geoms.walls.union(add_walls)
|
||||
|
||||
if walls is not None:
|
||||
engine.add_geometry(walls, height=geoms.default_height, fill=FillAttribs('#aaaaaa'))
|
||||
engine.add_geometry(walls.filter(bottom=(not self.full_levels and engine.is_3d)),
|
||||
height=geoms.default_height, fill=FillAttribs('#aaaaaa'))
|
||||
|
||||
if geoms.walls_extended and self.full_levels and engine.is_3d:
|
||||
engine.add_geometry(geoms.walls_extended, height=geoms.default_height, fill=FillAttribs('#aaaaaa'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue