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:
parent
2124e769d1
commit
2cf5ec3f1c
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user