Skip to content

Commit

Permalink
0026139: AIS_InteractiveContext::Display performance regression
Browse files Browse the repository at this point in the history
Regression with VIS tests in release mode was fixed
  • Loading branch information
vpa authored and bugmaster committed May 8, 2015
1 parent 2124e76 commit 2cf5ec3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SelectMgr/SelectMgr_SelectableObjectSet.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 2cf5ec3

Please sign in to comment.