更新 'src/Viewer/fg_os_osgviewer.cxx'

This commit is contained in:
zhongjin 2022-12-09 13:24:50 +08:00
parent ff7ff73b41
commit cda0a32612

View File

@ -139,13 +139,13 @@ static void setStereoMode(const char* mode)
}
//zhongjin
SG_LOG(SG_VIEW, SG_DEBUG, "立体模式: " << mode);
SG_LOG(SG_VIEW, SG_INFO, "立体模式: " << mode);
if (stereoOn) {
SG_LOG(SG_VIEW, SG_DEBUG, "修改立体参数");
SG_LOG(SG_VIEW, SG_INFO, "修改立体参数");
std::string cmode;
cmode = fgGetString("/sim/current-view/name", "飞行员");
SG_LOG(SG_VIEW, SG_DEBUG, "当前视角: " << cmode);
SG_LOG(SG_VIEW, SG_INFO, "当前视角: " << cmode);
}
@ -161,7 +161,7 @@ static const char* getStereoMode()
bool stereoOn = DisplaySettings::instance()->getStereo();
//zhongjin
SG_LOG(SG_VIEW, SG_DEBUG, "立体模式: " << stereoOn);
SG_LOG(SG_VIEW, SG_INFO, "立体模式: " << stereoOn);
if (!stereoOn) return "OFF";
if (stereoMode == DisplaySettings::QUAD_BUFFER) {