1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0030725: Visualization - remove Display calling from SetSelected methods of context

(cherry picked from commit 3356a2f1fcde55717e3e8a4a59059ee0accb6ba7)
(cherry picked from commit 86fb569627e1d89f8cfd991bd4dcb39235fad9f6)
This commit is contained in:
nds
2019-05-22 11:37:03 +03:00
parent 1c7d53e55a
commit 96923ab690

View File

@@ -773,7 +773,7 @@ void AIS_InteractiveContext::SetSelected (const Handle(AIS_InteractiveObject)& t
if (!myObjects.IsBound (theObject))
{
Display (theObject, Standard_False);
return;
}
Handle(SelectMgr_EntityOwner) anOwner = theObject->GlobalSelOwner();
@@ -865,7 +865,7 @@ void AIS_InteractiveContext::SetSelected (const Handle(SelectMgr_EntityOwner)& t
}
if (!myObjects.IsBound (anObject))
Display (anObject, Standard_False);
return;
if (myAutoHilight)
{