1
0
Fork 0

WS3: Allowed for OSG versions 3.7 (or 3.6)

This commit is contained in:
Scott Giese 2021-02-27 00:33:18 -06:00
parent 2e26a69694
commit a98622a677

View file

@ -285,7 +285,6 @@
<group>
<layout>hbox</layout>
<halign>right</halign>
<text>
<enable>
<equals>
@ -1161,8 +1160,7 @@
var osg_version = getprop("/sim/version/openscenegraph");
if ((osg_version != nil) and (find("3.6", osg_version) == 0)) {
if ((osg_version != nil) and (find("3.6", osg_version) == 0 or find("3.7", osg_version) == 0)) {
# Currently vpb requires OSG 3.6 specifically.
setprop("/sim/gui/dialogs/rendering/vpb-available", 1);
} else {