From: nds Date: Tue, 11 Jun 2019 11:24:23 +0000 (+0300) Subject: 0030728: Visualization - using one implementation of highlight/unhighlight in context... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=52cc62eee870cc7c983bde4a2b98465d9eb9b27e;p=occt-copy.git 0030728: Visualization - using one implementation of highlight/unhighlight in context - compilation correction #correction for compilation --- diff --git a/src/AIS/AIS_InteractiveContext.cxx b/src/AIS/AIS_InteractiveContext.cxx index 2ed6ecf834..725507f224 100644 --- a/src/AIS/AIS_InteractiveContext.cxx +++ b/src/AIS/AIS_InteractiveContext.cxx @@ -1968,7 +1968,9 @@ void AIS_InteractiveContext::EraseGlobal (const Handle(AIS_InteractiveObject)& t } const Standard_Integer aDispMode = theIObj->HasHilightMode() ? theIObj->HilightMode() : 0; - unhighlightOwners (theIObj); + AIS_NListOfEntityOwner anOwners; + anOwners.Append(theIObj->GlobalSelOwner()); + unhighlightOwners (anOwners); myMainPM->SetVisibility (theIObj, aStatus->DisplayMode(), Standard_False); if (!myLastPicked.IsNull()