mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-30 17:36:27 +02:00
Issue #121: add show overlapped option.
This commit is contained in:
parent
e85e98e92c
commit
7c99d828f4
2 changed files with 8 additions and 0 deletions
|
@ -56,6 +56,7 @@ class MapConfiguration:
|
|||
ignore_level_matching: bool = False
|
||||
draw_roofs: bool = True
|
||||
use_building_colors: bool = False
|
||||
show_overlapped: bool = False
|
||||
|
||||
@classmethod
|
||||
def from_options(
|
||||
|
@ -75,6 +76,7 @@ class MapConfiguration:
|
|||
options.ignore_level_matching,
|
||||
options.roofs,
|
||||
options.building_colors,
|
||||
options.show_overlapped,
|
||||
)
|
||||
|
||||
def is_wireframe(self) -> bool:
|
||||
|
|
|
@ -201,6 +201,12 @@ def add_map_arguments(parser: argparse.ArgumentParser) -> None:
|
|||
action=argparse.BooleanOptionalAction,
|
||||
default=False,
|
||||
)
|
||||
parser.add_argument(
|
||||
"--show-overlapped",
|
||||
help="show hidden nodes with a dot",
|
||||
action=argparse.BooleanOptionalAction,
|
||||
default=False,
|
||||
)
|
||||
|
||||
|
||||
def add_tile_arguments(parser: argparse.ArgumentParser) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue