Advanced Weather side fix for precipitation bug
This commit is contained in:
parent
35f63578ac
commit
28b3d77566
2 changed files with 13 additions and 9 deletions
|
@ -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);
|
||||
|
||||
# layer wrapping off
|
||||
setprop("/sim/rendering/clouds3d-wrap",0);
|
||||
|
||||
|
||||
|
||||
|
||||
# Basic Weather rain altitude limit off
|
||||
props.globals.getNode("/environment/params/use-external-precipitation-level").setBoolValue("true");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -3374,6 +3374,11 @@ realistic_visibility_flag = getprop(lw~"config/realistic-visibility-flag");
|
|||
detailed_terrain_interaction_flag = getprop(lw~"config/detailed-terrain-interaction-flag");
|
||||
scattering_shader_flag = getprop("/sim/rendering/shaders/skydome");
|
||||
|
||||
# also initialize menu entries
|
||||
|
||||
air_pollution_norm = getprop("/environment/air-pollution-norm");
|
||||
|
||||
|
||||
}
|
||||
|
||||
###########################################################
|
||||
|
|
Loading…
Add table
Reference in a new issue