mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03: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