Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PAL6825
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_Group.cxx
diff --git
a/src/SMESHDS/SMESHDS_Group.cxx
b/src/SMESHDS/SMESHDS_Group.cxx
index ecd6efb8ce998c2fc5c2048e21bb56e7bfd1a2d5..9c7dfa4a96e9ae2984f0e6d9dda4cc5dbee5aacd 100644
(file)
--- a/
src/SMESHDS/SMESHDS_Group.cxx
+++ b/
src/SMESHDS/SMESHDS_Group.cxx
@@
-93,6
+93,7
@@
bool SMESHDS_Group::Add (const int theID)
SetType( aElem->GetType() );
myGroup.Add (aElem);
SetType( aElem->GetType() );
myGroup.Add (aElem);
+ resetIterator();
return true;
}
return true;
}
@@
-108,6
+109,7
@@
bool SMESHDS_Group::Remove (const int theID)
if (!aElem || !myGroup.Contains(aElem))
return false;
myGroup.Remove (aElem);
if (!aElem || !myGroup.Contains(aElem))
return false;
myGroup.Remove (aElem);
+ resetIterator();
return true;
}
return true;
}
@@
-119,6
+121,7
@@
bool SMESHDS_Group::Remove (const int theID)
void SMESHDS_Group::Clear()
{
myGroup.Clear();
void SMESHDS_Group::Clear()
{
myGroup.Clear();
+ resetIterator();
}
// =====================
}
// =====================