mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-02 18:06:43 +08:00
0026139: AIS_InteractiveContext::Display performance regression
NCollection_Sequence in SelectMgr_SensitiveEntitySet was replaced by indexed data map
This commit is contained in:
@@ -51,7 +51,10 @@ void SelectMgr_SelectableObjectSet::Remove (const Handle(SelectMgr_SelectableObj
|
||||
|
||||
if (anIndex != 0)
|
||||
{
|
||||
Swap (anIndex - 1, Size() - 1);
|
||||
if (anIndex != Size())
|
||||
{
|
||||
Swap (anIndex - 1, Size() - 1);
|
||||
}
|
||||
|
||||
myObjects.RemoveLast();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user