diff --git a/src/Viewer/fg_os_osgviewer.cxx b/src/Viewer/fg_os_osgviewer.cxx index 08f1794..d7d0a90 100755 --- a/src/Viewer/fg_os_osgviewer.cxx +++ b/src/Viewer/fg_os_osgviewer.cxx @@ -159,6 +159,10 @@ static const char* getStereoMode() { DisplaySettings::StereoMode stereoMode = DisplaySettings::instance()->getStereoMode(); bool stereoOn = DisplaySettings::instance()->getStereo(); + + //zhongjin + SG_LOG(SG_VIEW, SG_DEBUG, "立体模式: " << stereoOn); + if (!stereoOn) return "OFF"; if (stereoMode == DisplaySettings::QUAD_BUFFER) { return "QUAD_BUFFER";