Salome HOME
refs #1327: implementation of the scaling operations
[modules/hydro.git] / 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* ) ),