mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-07 13:21:49 +02:00
Add empty outers check.
Way can have no nodes if it was deleted.
This commit is contained in:
parent
1b035300df
commit
7a8f9c49b0
1 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,9 @@ class Constructor:
|
|||
"""
|
||||
assert len(outers) >= 1
|
||||
|
||||
if len(outers[0]) == 0:
|
||||
return
|
||||
|
||||
if not self.check_level(line.tags):
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue