更新 'src/Viewer/fg_os_osgviewer.cxx'

This commit is contained in:
zhongjin 2022-12-09 14:00:11 +08:00
parent 7280ab117e
commit f8cd70dc7c

View File

@ -149,9 +149,9 @@ static void setStereoMode(const char* mode)
if ( cmode =="飞行员" || cmode == "副驾驶" || cmode== "领航" || cmode== "货仓" || cmode== "") {
fgSetInt("/sim/rendering/osg-displaysettings/screen-distance",0.6);
fgSetFloat("/sim/rendering/osg-displaysettings/screen-distance",0.6);
} else {
fgSetInt("/sim/rendering/osg-displaysettings/screen-distance",30);
fgSetFloat("/sim/rendering/osg-displaysettings/screen-distance",30);
}
}