diff --git a/Nasal/local_weather/local_weather.nas b/Nasal/local_weather/local_weather.nas index f5cc7e1eb..616b30cfb 100644 --- a/Nasal/local_weather/local_weather.nas +++ b/Nasal/local_weather/local_weather.nas @@ -4756,6 +4756,7 @@ setprop(lwi~"ipoint-number",0); var updateMenu = func { var isEnabled = getprop("/nasal/local_weather/enabled"); gui.menuEnable("local_weather", isEnabled); + if (isEnabled) {setprop("/sim/rendering/clouds3d-enable", "true");} } _setlistener("/nasal/local_weather/enabled", updateMenu); diff --git a/gui/dialogs/weather.xml b/gui/dialogs/weather.xml index 93ca74992..920103cc9 100644 --- a/gui/dialogs/weather.xml +++ b/gui/dialogs/weather.xml @@ -174,8 +174,6 @@ # If Local Weather is enabled, re-initialize with updated # initial tile and tile selection. setprop("/nasal/local_weather/enabled", "true"); - # Local Weather requires 3D clouds. - setprop("/sim/rendering/clouds3d-enable", "true"); # Re-initialize local weather. settimer( func {local_weather.set_tile();}, 0.2);