From 7f66257bfb0ff1b9cd2b79e89bccf4efc2836af1 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Mon, 9 Nov 2020 11:44:08 +0100 Subject: [PATCH] Add climate selection options to set the environment and weather based on climate data. Setting the weather is not yet implemented in the code but eventually it will be. --- Environment/environment.xml | 5 ++++ gui/dialogs/environment-settings.xml | 34 ++++++++++++++++++++++++++-- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/Environment/environment.xml b/Environment/environment.xml index c04b70eb5..a48fa2bba 100644 --- a/Environment/environment.xml +++ b/Environment/environment.xml @@ -283,6 +283,11 @@ + + false + false + + clear diff --git a/gui/dialogs/environment-settings.xml b/gui/dialogs/environment-settings.xml index 5bb373790..e4d41a913 100644 --- a/gui/dialogs/environment-settings.xml +++ b/gui/dialogs/environment-settings.xml @@ -88,15 +88,45 @@ - hbox + vbox left left + + hbox + + + + climate-update + /environment/climate/weather-update + true + + dialog-apply + + + property-toggle + + + + + + climate-update + /environment/climate/environment-update + true + + dialog-apply + + + property-toggle + + + + - + metar-snow /environment/params/metar-updates-snow-level