更新 'src/Viewer/fg_os_osgviewer.cxx'
This commit is contained in:
parent
ff7ff73b41
commit
cda0a32612
@ -139,13 +139,13 @@ static void setStereoMode(const char* mode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//zhongjin
|
//zhongjin
|
||||||
SG_LOG(SG_VIEW, SG_DEBUG, "立体模式: " << mode);
|
SG_LOG(SG_VIEW, SG_INFO, "立体模式: " << mode);
|
||||||
|
|
||||||
if (stereoOn) {
|
if (stereoOn) {
|
||||||
SG_LOG(SG_VIEW, SG_DEBUG, "修改立体参数");
|
SG_LOG(SG_VIEW, SG_INFO, "修改立体参数");
|
||||||
std::string cmode;
|
std::string cmode;
|
||||||
cmode = fgGetString("/sim/current-view/name", "飞行员");
|
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();
|
bool stereoOn = DisplaySettings::instance()->getStereo();
|
||||||
|
|
||||||
//zhongjin
|
//zhongjin
|
||||||
SG_LOG(SG_VIEW, SG_DEBUG, "立体模式: " << stereoOn);
|
SG_LOG(SG_VIEW, SG_INFO, "立体模式: " << stereoOn);
|
||||||
|
|
||||||
if (!stereoOn) return "OFF";
|
if (!stereoOn) return "OFF";
|
||||||
if (stereoMode == DisplaySettings::QUAD_BUFFER) {
|
if (stereoMode == DisplaySettings::QUAD_BUFFER) {
|
||||||
|
Loading…
Reference in New Issue
Block a user