make sure colors are in the right order (looks nicer in export source)
This commit is contained in:
parent
ed8e351556
commit
01e8eade8e
1 changed files with 2 additions and 0 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue