1
0
Fork 0

Partially fix tree shadow dialog - the problem is this still needs anti-aliasing enabled to work and this isn't communicated

This commit is contained in:
Thorsten Renk 2017-02-23 09:41:36 +02:00
parent d6931923f9
commit c1811dd481

View file

@ -467,9 +467,9 @@
<script>
var val = getprop("/sim/gui/dialogs/rendering/vegetation-shadows");
if (val == "Enabled") {
setprop("/sim/rendering/vegetation-shadows", 1);
setprop("/sim/rendering/random-vegetation-shadows", 1);
} else {
setprop("/sim/rendering/vegetation-shadows", 0);
setprop("/sim/rendering/random-vegetation-shadows", 0);
}
</script>
</binding>
@ -1087,7 +1087,7 @@
setprop("/sim/gui/dialogs/rendering/random-vegetation", "Disabled");
}
if (getprop("/sim/rendering/vegetation-shadows")) {
if (getprop("/sim/rendering/random-vegetation-shadows")) {
setprop("/sim/gui/dialogs/rendering/vegetation-shadows", "Enabled");
} else {
setprop("/sim/gui/dialogs/rendering/vegetation-shadows", "Disabled");