Skip to content

Commit

Permalink
Disable dissolving.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Feb 23, 2025
1 parent 22128b7 commit 50d4b39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webui/generator/advanced_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ def is_disabled_on_public(self, raw_field_name: str) -> bool:
if not self.public:
return False

disabled_fields = ["resize_factor", "zoom_level"] # , "download_images"]
disabled_fields = ["resize_factor", "zoom_level", "dissolve"]
return raw_field_name in disabled_fields
2 changes: 1 addition & 1 deletion webui/generator/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def limit_on_public(self, settings_json: dict) -> dict:

limited_settings = settings_json.copy()
limited_settings["BackgroundSettings"]["resize_factor"] = 8
# limited_settings["TextureSettings"]["dissolve"] = False
limited_settings["TextureSettings"]["dissolve"] = False
limited_settings["SatelliteSettings"]["zoom_level"] = 16
# limited_settings["SatelliteSettings"]["download_images"] = False
return limited_settings
Expand Down

0 comments on commit 50d4b39

Please sign in to comment.