From 25d7535ec620a0d29314077cb3b16313612c6a98 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 14 Apr 2009 08:49:57 +0000 Subject: [PATCH] small optimization --- src/SMESHGUI/SMESHGUI_GroupDlg.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 1fbdabfad..b7d28889e 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -19,11 +19,11 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// SMESH SMESHGUI : GUI for SMESH component -// File : SMESHGUI_GroupDlg.cxx -// Author : Natalia KOPNOVA, Open CASCADE S.A.S. -// SMESH includes -// +// SMESH SMESHGUI : GUI for SMESH component +// File : SMESHGUI_GroupDlg.cxx +// Author : Natalia KOPNOVA, Open CASCADE S.A.S. +// SMESH includes + #include "SMESHGUI_GroupDlg.h" #include "SMESHGUI.h" @@ -2206,7 +2206,7 @@ bool SMESHGUI_GroupDlg::SetAppropriateActor() // any visible actor, that belongs to group or submesh of current mesh vtkActorCollection *aCollection = aViewWindow->getRenderer()->GetActors(); int nbItems = aCollection->GetNumberOfItems(); - for (int i=0; i(aCollection->GetItemAsObject(i)); if (anActor && anActor->hasIO()) { -- 2.39.2