]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
IPAL21164 TC5.1.2: Regression. Not all created 1D and 2D elements are restored from...
authordmv <dmv@opencascade.com>
Mon, 8 Jun 2009 13:20:36 +0000 (13:20 +0000)
committerdmv <dmv@opencascade.com>
Mon, 8 Jun 2009 13:20:36 +0000 (13:20 +0000)
src/SMESH_I/SMESH_Gen_i.cxx

index 2e15edca307b5d78d9e6ce0b0596fffa36e9c01c..5fa5b3e31d9c172416a701602789f9e4d155945a 100644 (file)
@@ -3753,7 +3753,7 @@ bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
                 int smID = smIDs[ i ];
                 if ( smID == 0 ) continue;
                 const SMDS_MeshElement* elem = *iE;
-                if( smID >= maxID ) {
+                if( smID > maxID ) {
                   // corresponding subshape no longer exists: maybe geom group has been edited
                   if ( myNewMeshImpl->HasShapeToMesh() )
                     mySMESHDSMesh->RemoveElement( elem );