]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1324: implementation of the chained operations
authorasl <asl@opencascade.com>
Fri, 22 Sep 2017 07:26:41 +0000 (10:26 +0300)
committerasl <asl@opencascade.com>
Fri, 22 Sep 2017 07:26:41 +0000 (10:26 +0300)
src/HYDROGUI/HYDROGUI_Module.cxx

index 4f8eeafda2d0bed2919de47c478ef355ea9609ab..535770cfe4ee8a1ce4a8f670f280c8f6f144c60f 100644 (file)
@@ -1478,6 +1478,9 @@ void HYDROGUI_Module::onViewManagerAdded( SUIT_ViewManager* theViewManager )
   }
   else if( theViewManager->getType() == OCCViewer_Viewer::Type() )
   {
+    OCCViewer_ViewManager* mgr = dynamic_cast<OCCViewer_ViewManager*>( theViewManager );
+    mgr->setChainedOperations( true );//TODO: via preferences
+
     connect( theViewManager, SIGNAL( viewCreated( SUIT_ViewWindow* ) ),
              this, SLOT( onViewCreated( SUIT_ViewWindow* ) ) );
     connect( theViewManager, SIGNAL( mouseMove( SUIT_ViewWindow*, QMouseEvent* ) ),