From: eap Date: Fri, 15 Nov 2013 14:44:06 +0000 (+0000) Subject: Regression of SALOME_TESTS/Grids/smesh/imps_08/I8 X-Git-Tag: V7_3_0a1~55 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=309959077fef97eef33a89e979f81d3dcc71e853;hp=d547ba4db90f7fe97f044c5afb84b7321ccc6f11 Regression of SALOME_TESTS/Grids/smesh/imps_08/I8 --- diff --git a/src/SMESHDS/SMESHDS_GroupOnFilter.cxx b/src/SMESHDS/SMESHDS_GroupOnFilter.cxx index e78385481..c0937ee4f 100644 --- 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( 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 );