mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-12 07:41:55 +02:00
Add camera direction processing.
This commit is contained in:
parent
172b48af53
commit
9b807c2cbf
1 changed files with 6 additions and 5 deletions
|
@ -357,8 +357,9 @@ class Scheme:
|
|||
returned: IconSet = IconSet(main_icon, extra_icons, processed)
|
||||
self.cache[tags_hash] = returned, priority
|
||||
|
||||
if "direction" in tags:
|
||||
if DirectionSet(tags["direction"]).is_right() is False:
|
||||
for key in ["direction", "camera:direction"]:
|
||||
if key in tags:
|
||||
if DirectionSet(tags[key]).is_right() is False:
|
||||
for specification in main_icon.shape_specifications:
|
||||
if specification.shape.is_right_directed:
|
||||
specification.flip_horizontally = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue