Implementation of the "22390: [CEA 967] Latency enhancement after a selection of a displayed object" issue.

This commit is contained in:
rnv 2013-11-27 12:23:43 +00:00
parent 584051e366
commit ed9f4e67b5

View 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();