更新 'src/Viewer/fg_os_osgviewer.cxx'

This commit is contained in:
zhongjin 2022-12-09 13:53:39 +08:00
parent 67bebb4bc3
commit 7280ab117e

View File

@ -147,13 +147,13 @@ static void setStereoMode(const char* mode)
cmode = fgGetString("/sim/current-view/name", "飞行员");
SG_LOG(SG_VIEW, SG_INFO, "当前视角: " << cmode);
/*
if ( cmode =="飞行员" || cmode == "副驾驶" || cmode== "领航" || cmode== "货仓" || cmode== "") {
fgSetInt("/sim/rendering/osg-displaysettings/screen-distance",0.6);
} else {
fgSetInt("/sim/rendering/osg-displaysettings/screen-distance",30);
}
*/
}