mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 17:40:24 +08:00
0026139: AIS_InteractiveContext::Display performance regression
Regression with VIS tests in release mode was fixed
This commit is contained in:
@@ -34,7 +34,8 @@ SelectMgr_SelectableObjectSet::SelectMgr_SelectableObjectSet()
|
||||
//=======================================================================
|
||||
void SelectMgr_SelectableObjectSet::Append (const Handle(SelectMgr_SelectableObject)& theObject)
|
||||
{
|
||||
if (Size() < myObjects.Add (theObject))
|
||||
Standard_Integer aSize = Size();
|
||||
if (aSize < myObjects.Add (theObject))
|
||||
{
|
||||
MarkDirty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user