From 72c6a54b6eb5e956acc0065a846fb939d3c7596c Mon Sep 17 00:00:00 2001 From: kgv Date: Fri, 24 Jul 2015 14:05:35 +0300 Subject: [PATCH] 0026479: Visualization, TKOpenGl - do not implicitly turn off stereo in OpenGl_Workspace::RedrawImmediate() --- src/OpenGl/OpenGl_Workspace.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/OpenGl/OpenGl_Workspace.cxx b/src/OpenGl/OpenGl_Workspace.cxx index daaace8e6b..2a6e04c484 100644 --- a/src/OpenGl/OpenGl_Workspace.cxx +++ b/src/OpenGl/OpenGl_Workspace.cxx @@ -1355,13 +1355,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; } -- 2.39.5