From 41a2c46b215f2d53dacfec8dd53a9e1256c2f754 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 5 Sep 2019 15:12:05 +0300 Subject: [PATCH] Revert "0030728: Visualization - using one implementation of highlight/unhighlight in context - compilation correction" This reverts commit 52cc62eee870cc7c983bde4a2b98465d9eb9b27e. --- src/AIS/AIS_InteractiveContext.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/AIS/AIS_InteractiveContext.cxx b/src/AIS/AIS_InteractiveContext.cxx index 725507f224..2ed6ecf834 100644 --- a/src/AIS/AIS_InteractiveContext.cxx +++ b/src/AIS/AIS_InteractiveContext.cxx @@ -1968,9 +1968,7 @@ void AIS_InteractiveContext::EraseGlobal (const Handle(AIS_InteractiveObject)& t } const Standard_Integer aDispMode = theIObj->HasHilightMode() ? theIObj->HilightMode() : 0; - AIS_NListOfEntityOwner anOwners; - anOwners.Append(theIObj->GlobalSelOwner()); - unhighlightOwners (anOwners); + unhighlightOwners (theIObj); myMainPM->SetVisibility (theIObj, aStatus->DisplayMode(), Standard_False); if (!myLastPicked.IsNull() -- 2.39.5