1
0
Fork 0

Rendering dialog: fix initial preset combo value

This commit is contained in:
James Turner 2021-04-02 16:38:55 +01:00
parent 2d4f8cdbdd
commit 342436187e

View file

@ -498,6 +498,10 @@
'clear-destination':1,
}));
if (getprop('/sim/rendering/preset-active')) {
setprop('/sim/gui/dialogs/rendering/preset', getprop('/sim/rendering/preset-name'));
}
# WS 3.0
var osg_version = getprop("/sim/version/openscenegraph");
if ((osg_version != nil) and (find("3.6", osg_version) == 0 or find("3.7", osg_version) == 0)) {