]> OCCT Git - occt-copy.git/commitdiff
0030728: Visualization - using one implementation of highlight/unhighlight in context...
authornds <nds@opencascade.com>
Tue, 11 Jun 2019 11:24:23 +0000 (14:24 +0300)
committernds <nds@opencascade.com>
Mon, 2 Sep 2019 14:58:05 +0000 (17:58 +0300)
#correction for compilation

src/AIS/AIS_InteractiveContext.cxx

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