From: rnv Date: Wed, 27 Nov 2013 12:23:43 +0000 (+0000) Subject: Implementation of the "22390: [CEA 967] Latency enhancement after a selection of... X-Git-Tag: V7_3_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ed9f4e67b51855675fa7b43a9673cfd972e224e8;p=modules%2Fgeom.git Implementation of the "22390: [CEA 967] Latency enhancement after a selection of a displayed object" issue. --- diff --git a/src/GEOMGUI/GEOMGUI_OCCSelector.cxx b/src/GEOMGUI/GEOMGUI_OCCSelector.cxx index 25ef6cbc9..faf21e358 100644 --- a/src/GEOMGUI/GEOMGUI_OCCSelector.cxx +++ b/src/GEOMGUI/GEOMGUI_OCCSelector.cxx @@ -195,7 +195,7 @@ static void getEntityOwners( const Handle(AIS_InteractiveObject)& theObj, void GEOMGUI_OCCSelector::setSelection( const SUIT_DataOwnerPtrList& aList ) { OCCViewer_Viewer* vw = viewer(); - if ( !vw ) + if ( !vw || !vw->isSelectionEnabled()) return; SUIT_ResourceMgr* aResourceMgr = SUIT_Session::session()->resourceMgr();