]> OCCT Git - occt-copy.git/commitdiff
Revert "0030728: Visualization - using one implementation of highlight/unhighlight...
authornds <nds@opencascade.com>
Thu, 5 Sep 2019 12:12:05 +0000 (15:12 +0300)
committernds <nds@opencascade.com>
Thu, 5 Sep 2019 12:12:05 +0000 (15:12 +0300)
This reverts commit 52cc62eee870cc7c983bde4a2b98465d9eb9b27e.

src/AIS/AIS_InteractiveContext.cxx

index 725507f2247bd79aa3620ffe48f5644773db643e..2ed6ecf834e47545c249ecf11b4598289ba54b42 100644 (file)
@@ -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()