From b274f170141d426bf450b740c469b5327bd4c275 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 4 Apr 2019 12:27:22 +0300 Subject: [PATCH] Issue #2896: Create new selector just at module activation --- src/SHAPERGUI/SHAPERGUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } } } -- 2.39.2