Skip to content

Commit

Permalink
Include forest density in settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Dec 22, 2024
1 parent 55aaa62 commit cf997ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webui/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ def add_left_widgets(self) -> None:
self.plateau_height_input = DEFAULT_PLATEAU
self.fields_padding = 0
self.farmland_margin = 3
self.forest_density = 10

if not self.auto_process:
self.logger.info("Auto preset is disabled.")
Expand Down Expand Up @@ -453,6 +454,7 @@ def generate_map(self) -> None:
light_version=self.community,
fields_padding=self.fields_padding,
farmland_margin=self.farmland_margin,
forest_density=self.forest_density,
)

if self.community:
Expand Down

0 comments on commit cf997ed

Please sign in to comment.