diff --git a/Nasal/local_weather/local_weather.nas b/Nasal/local_weather/local_weather.nas index 8096a8b83..4c3c96990 100644 --- a/Nasal/local_weather/local_weather.nas +++ b/Nasal/local_weather/local_weather.nas @@ -2916,6 +2916,7 @@ if (compat_layer.features.terrain_presampling_active == 1) print("Starting hard-coded terrain presampling"); setprop(lw~"tmp/presampling-status", "sampling"); + setprop("/environment/terrain/area[0]/enabled", 1 ); setprop("/environment/terrain/area[0]/input/latitude-deg", blat ); setprop("/environment/terrain/area[0]/input/longitude-deg", blon ); setprop("/environment/terrain/area[0]/input/use-aircraft-position",1); diff --git a/Nasal/local_weather/weather_tiles.nas b/Nasal/local_weather/weather_tiles.nas index bacacaed8..ffc41e383 100644 --- a/Nasal/local_weather/weather_tiles.nas +++ b/Nasal/local_weather/weather_tiles.nas @@ -854,7 +854,7 @@ if (rand() < small_scale_persistence) else {rnd_store = rn;} -rn = 0.1; +#rn = 0.1; if (rn > 0.8) @@ -1001,7 +1001,7 @@ local_weather.set_weather_station(blat, blon, alt_offset, vis, T, D, p * hp_to_i # set a closed Nimbostratus layer -var alt = spread * 400.0 + local_weather.cloud_vertical_size_map["Nimbus"] * 0.5 * m_to_ft; +var alt = spread * 400.0; var strength = 0.0; #var alt = 3000.0;