]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2896: Create new selector just at module activation
authorvsv <vsv@opencascade.com>
Thu, 4 Apr 2019 09:27:22 +0000 (12:27 +0300)
committervsv <vsv@opencascade.com>
Thu, 4 Apr 2019 09:27:22 +0000 (12:27 +0300)
src/SHAPERGUI/SHAPERGUI.cpp

index c0becb578d2438241d77de0d8e7ca0a3c210f6e1..51054f84cbb3247a7c4061cc72a3317e1dbaef7b 100644 (file)
@@ -204,7 +204,8 @@ void SHAPERGUI::initialize(CAM_Application* theApp)
         aViewPort->installEventFilter(aViewer);
         Handle(V3d_View) aView = aViewPort->getView();
         aViewer->SetScale(aView, aView->Camera()->Scale());
-        onViewManagerAdded(aMgr);
+        // We can not create selector here because other modules will be deactivatet later
+        //onViewManagerAdded(aMgr);
       }
     }
   }