From d5d40fac2b716648c03a0f644eead70b4654a0f1 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 22 May 2019 11:37:03 +0300 Subject: [PATCH] 0030725: Visualization - remove Display calling from SetSelected methods of context (cherry picked from commit 3356a2f1fcde55717e3e8a4a59059ee0accb6ba7) --- src/AIS/AIS_InteractiveContext_1.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AIS/AIS_InteractiveContext_1.cxx b/src/AIS/AIS_InteractiveContext_1.cxx index 466deaca1a..6ba03a7b8d 100644 --- a/src/AIS/AIS_InteractiveContext_1.cxx +++ b/src/AIS/AIS_InteractiveContext_1.cxx @@ -788,7 +788,7 @@ void AIS_InteractiveContext::SetSelected (const Handle(AIS_InteractiveObject)& t if (!myObjects.IsBound (theObject)) { - Display (theObject, Standard_False); + return; } Handle(SelectMgr_EntityOwner) anOwner = theObject->GlobalSelOwner(); @@ -882,7 +882,7 @@ void AIS_InteractiveContext::SetSelected (const Handle(SelectMgr_EntityOwner)& t } if (!myObjects.IsBound (anObject)) - Display (anObject, Standard_False); + return; if (myAutoHilight) { -- 2.39.5