fix wall rendering bug

This commit is contained in:
Gwendolyn 2023-12-18 00:19:17 +01:00
parent d16a477c1b
commit a0078a6312
2 changed files with 4 additions and 3 deletions

View file

@ -137,8 +137,9 @@ class MapRenderer:
# add walls, stroke_px makes sure that all walls are at least 1px thick on all zoom levels,
walls = None
if not add_walls.is_empty or not geoms.walls.is_empty:
walls = geoms.walls.union(add_walls)
# we use all_walls instead of walls, because the short wall rendering stuff doesn't work
if not add_walls.is_empty or not geoms.all_walls.is_empty:
walls = geoms.all_walls.union(add_walls)
walls_extended = geoms.walls_extended and full_levels
if walls is not None: