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

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

#correction for compilation
This commit is contained in:
nds
2019-06-11 14:24:23 +03:00
parent 7d4472c752
commit 52cc62eee8

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