1
0
Fork 0

Advanced Weather side fix for precipitation bug

This commit is contained in:
Thorsten Renk 2012-12-13 12:15:21 +02:00
parent 35f63578ac
commit 28b3d77566
2 changed files with 13 additions and 9 deletions

View file

@ -163,15 +163,14 @@ foreach (var l; layers)
# we store that information ourselves, so this should be zero, but rain forces us to go for an offset # we store that information ourselves, so this should be zero
setprop("/environment/clouds/layer[0]/elevation-ft",0.0); setprop("/environment/clouds/layer[0]/elevation-ft",0.0);
# layer wrapping off # layer wrapping off
setprop("/sim/rendering/clouds3d-wrap",0); setprop("/sim/rendering/clouds3d-wrap",0);
# Basic Weather rain altitude limit off
props.globals.getNode("/environment/params/use-external-precipitation-level").setBoolValue("true");
} }

View file

@ -3374,6 +3374,11 @@ realistic_visibility_flag = getprop(lw~"config/realistic-visibility-flag");
detailed_terrain_interaction_flag = getprop(lw~"config/detailed-terrain-interaction-flag"); detailed_terrain_interaction_flag = getprop(lw~"config/detailed-terrain-interaction-flag");
scattering_shader_flag = getprop("/sim/rendering/shaders/skydome"); scattering_shader_flag = getprop("/sim/rendering/shaders/skydome");
# also initialize menu entries
air_pollution_norm = getprop("/environment/air-pollution-norm");
} }
########################################################### ###########################################################