]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Implementation of the "22390: [CEA 967] Latency enhancement after a selection of... V7_3_0a1
authorrnv <rnv@opencascade.com>
Wed, 27 Nov 2013 12:23:43 +0000 (12:23 +0000)
committerrnv <rnv@opencascade.com>
Wed, 27 Nov 2013 12:23:43 +0000 (12:23 +0000)
src/GEOMGUI/GEOMGUI_OCCSelector.cxx

index 25ef6cbc9bcca6f619105be00100bbe9ed252d34..faf21e358a184b7b52b86e77411979d78143cbf7 100644 (file)
@@ -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();