1
0
Fork 0

HDR: Force an envmap update when the weather changes

This commit is contained in:
Fernando García Liñán 2024-01-22 01:22:00 +01:00
parent cb56d1ef45
commit 7b20b1ed0e

View file

@ -184,6 +184,9 @@
# Re-initialize local weather.
settimer( func {local_weather.set_tile();}, 0.2);
}
# Force an update of the HDR environment map after a few seconds
settimer(func {setprop("/sim/rendering/hdr/envmap/force-update", "true");}, 5.0);
},
findScenarioByName : func(name) {