From: kgv Date: Fri, 24 Jul 2015 11:05:35 +0000 (+0300) Subject: 0026479: Visualization, TKOpenGl - do not implicitly turn off stereo in OpenGl_Worksp... X-Git-Tag: V7_0_0_beta~408 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=637b758367ca20521d8973cd8ffa414c33737079;p=occt.git 0026479: Visualization, TKOpenGl - do not implicitly turn off stereo in OpenGl_Workspace::RedrawImmediate() --- diff --git a/src/OpenGl/OpenGl_Workspace.cxx b/src/OpenGl/OpenGl_Workspace.cxx index e6de8c2786..7a9d4eae30 100644 --- a/src/OpenGl/OpenGl_Workspace.cxx +++ b/src/OpenGl/OpenGl_Workspace.cxx @@ -1408,13 +1408,8 @@ void OpenGl_Workspace::RedrawImmediate (const Graphic3d_CView& theCView, const Graphic3d_StereoMode aStereoMode = theCView.RenderParams.StereoMode; if (aProjectType == Graphic3d_Camera::Projection_Stereo) { - if (aFrameBuffer != NULL) - { - // implicitly switch to mono camera for image dump - aProjectType = Graphic3d_Camera::Projection_Perspective; - } - else if (myMainSceneFbos[0]->IsValid() - && !myMainSceneFbos[1]->IsValid()) + if (myMainSceneFbos[0]->IsValid() + && !myMainSceneFbos[1]->IsValid()) { aProjectType = Graphic3d_Camera::Projection_Perspective; }