]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix compilation error due to prev. commit
authorakl <alexander.kovalev@opencascade.com>
Fri, 14 Aug 2015 10:34:52 +0000 (14:34 +0400)
committerakl <alexander.kovalev@opencascade.com>
Fri, 14 Aug 2015 10:34:52 +0000 (14:34 +0400)
src/OCCViewer/OCCViewer_ViewWindow.cxx

index 7ceb65ef17e9c7ba92884ed0f2e834e0d3fae052..94824e67fedf062b40f41a1407a4d128fb99cf30 100755 (executable)
@@ -1497,7 +1497,9 @@ void OCCViewer_ViewWindow::createToolBar()
 
     toolMgr()->append( OrthographicId, tid );
     toolMgr()->append( PerspectiveId, tid );
+#if OCC_VERSION_LARGE > 0x06090000
     toolMgr()->append( StereoId, tid );
+#endif
 
     toolMgr()->append( ResetId, tid );
   }
@@ -1655,8 +1657,10 @@ void OCCViewer_ViewWindow::onProjectionType( QAction* theAction )
       myModel->setProjectionType(Perspective);
       aCamera->SetProjectionType ( Graphic3d_Camera::Projection_Perspective );
     }
+#if OCC_VERSION_LARGE > 0x06090000
     if (toolMgr()->action( StereoId )->isChecked())
       aCamera->SetProjectionType ( Graphic3d_Camera::Projection_Stereo );
+#endif
     aView3d->Redraw();
     onViewFitAll();
   }