From: vsv Date: Thu, 4 Apr 2019 09:27:22 +0000 (+0300) Subject: Issue #2896: Create new selector just at module activation X-Git-Tag: V9_3_0rc1~2^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b274f170141d426bf450b740c469b5327bd4c275;p=modules%2Fshaper.git Issue #2896: Create new selector just at module activation --- diff --git a/src/SHAPERGUI/SHAPERGUI.cpp b/src/SHAPERGUI/SHAPERGUI.cpp index c0becb578..51054f84c 100644 --- a/src/SHAPERGUI/SHAPERGUI.cpp +++ b/src/SHAPERGUI/SHAPERGUI.cpp @@ -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); } } }