make sure colors are in the right order (looks nicer in export source)

This commit is contained in:
Laura Klünder 2017-11-26 13:17:39 +01:00
parent ed8e351556
commit 01e8eade8e

View file

@ -100,6 +100,8 @@ class MapRenderer:
engine.add_geometry(hybrid_union(areas), fill=FillAttribs(color),
category='ground_%s' % hexcolor, item=j)
# add obstacles after everything related to ground for the nice right order
for i, altitudearea in enumerate(geoms.altitudeareas):
for height, obstacle in altitudearea.obstacles.items():
engine.add_geometry(obstacle, fill=FillAttribs('#cccccc'), category='obstacles')