1
0
Fork 0

Bugfix creating well-defined starting and re-starting conditions for Advanced Weather precipitation

This commit is contained in:
Thorsten Renk 2013-01-10 13:21:14 +02:00
parent 73fcf429d0
commit 6d8940c4e0
2 changed files with 12 additions and 0 deletions

View file

@ -172,6 +172,12 @@ setprop("/sim/rendering/clouds3d-wrap",0);
# Basic Weather rain altitude limit off
props.globals.getNode("/environment/params/use-external-precipitation-level").setBoolValue("true");
# rain and snow off for clean startup
compat_layer.setRain(0.0);
compat_layer.setSnow(0.0);
compat_layer.setLight(1.0);
}

View file

@ -1663,6 +1663,12 @@ setprop(lw~"clouds/placement-index",0);
setprop(lw~"clouds/model-placement-index",0);
setprop(lw~"effect-volumes/effect-placement-index",0);
setprop(lw~"effect-volumes/number",0);
setprop(lw~"effect-volumes/number-active-rain",0);
setprop(lw~"effect-volumes/number-active-snow",0);
setprop(lw~"effect-volumes/number-active-vis",0);
setprop(lw~"effect-volumes/number-active-turb",0);
setprop(lw~"effect-volumes/number-active-lift",0);
setprop(lw~"effect-volumes/number-active-sat",0);
setprop(lw~"tiles/tile-counter",0);