1
0
Fork 0
mirror of https://github.com/enzet/map-machine.git synced 2025-07-31 15:20:31 +02:00

Add empty outers check.

Way can have no nodes if it was deleted.
This commit is contained in:
Sergey Vartanov 2021-11-12 03:29:53 +03:00
parent 1b035300df
commit 7a8f9c49b0

View file

@ -225,6 +225,9 @@ class Constructor:
"""
assert len(outers) >= 1
if len(outers[0]) == 0:
return
if not self.check_level(line.tags):
return