mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-12 01:50:22 +08:00
0027868: Visualization - AIS_InteractiveContext::Remove() might keep removed object in selection list
- AIS_InteractiveContext::unhighlightOwners is corrected to handle all objects in selection regardless of owner's selection state
This commit is contained in:
@@ -2320,8 +2320,7 @@ void AIS_InteractiveContext::unhighlightOwners (const Handle(AIS_InteractiveObje
|
||||
SelectMgr_SequenceOfOwner aSeq;
|
||||
for (AIS_NListOfEntityOwner::Iterator aSelIter (mySelection->Objects()); aSelIter.More(); aSelIter.Next())
|
||||
{
|
||||
if (aSelIter.Value()->IsSameSelectable (theObject)
|
||||
&& aSelIter.Value()->IsSelected())
|
||||
if (aSelIter.Value()->IsSameSelectable (theObject))
|
||||
{
|
||||
aSeq.Append (aSelIter.Value());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user