1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Revert "0030728: Visualization - using one implementation of highlight/unhighlight in context - compilation correction"

This reverts commit 52cc62eee8.
This commit is contained in:
nds
2019-09-05 15:12:05 +03:00
parent fd448091bf
commit 41a2c46b21

View 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()