Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d547ba4
)
Regression of SALOME_TESTS/Grids/smesh/imps_08/I8
author
eap
<eap@opencascade.com>
Fri, 15 Nov 2013 14:44:06 +0000
(14:44 +0000)
committer
eap
<eap@opencascade.com>
Fri, 15 Nov 2013 14:44:06 +0000
(14:44 +0000)
src/SMESHDS/SMESHDS_GroupOnFilter.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHDS/SMESHDS_GroupOnFilter.cxx
b/src/SMESHDS/SMESHDS_GroupOnFilter.cxx
index e783854816ff339f827357f3c6bb2a4b05a5d04e..c0937ee4ffff47a26db06e5ee19ed182c3a508fd 100644
(file)
--- a/
src/SMESHDS/SMESHDS_GroupOnFilter.cxx
+++ b/
src/SMESHDS/SMESHDS_GroupOnFilter.cxx
@@
-292,6
+292,9
@@
int SMESHDS_GroupOnFilter::getElementIds( void* ids, size_t idSize ) const
{
SMESHDS_GroupOnFilter* me = const_cast<SMESHDS_GroupOnFilter*>( this );
+ if ( IsUpToDate() )
+ me->setChanged();
+
char* curID = (char*) ids;
SMDS_ElemIteratorPtr elIt = GetElements();
if ( elIt->more() )
@@
-303,8
+306,6
@@
int SMESHDS_GroupOnFilter::getElementIds( void* ids, size_t idSize ) const
}
else
{
- me->setChanged();
-
// find out nb of elements to skip w/o check before the 1st OK element
const SMDS_MeshElement* firstOkElem = me->setNbElemToSkip( elIt );