1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0026139: AIS_InteractiveContext::Display performance regression

Regression with VIS tests in release mode was fixed
This commit is contained in:
vpa 2015-05-08 13:44:02 +03:00 committed by bugmaster
parent 2124e769d1
commit 2cf5ec3f1c

View File

@ -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();
}