shorter groundcolor name
This commit is contained in:
parent
d6fa4fce23
commit
ed8e351556
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class MapRenderer:
|
|||
j += 1
|
||||
hexcolor = ''.join(hex(int(i*255))[2:].zfill(2) for i in engine.color_to_rgb(color)).upper()
|
||||
engine.add_geometry(hybrid_union(areas), fill=FillAttribs(color),
|
||||
category='groundcolor_%s' % hexcolor, item=j)
|
||||
category='ground_%s' % hexcolor, item=j)
|
||||
|
||||
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