From 8bdfcf6b27dd18013ab978a04d437c65beb8cbca Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 8 Jun 2009 13:20:36 +0000 Subject: [PATCH] =?utf8?q?IPAL21164=20TC5.1.2:=20Regression.=20Not=20all?= =?utf8?q?=20created=201D=20and=202D=20elements=20are=20restored=20from=20?= =?utf8?q?saved=20=C3=A2=C2=80=C2=9C*.hdf=C3=A2=C2=80=C2=9D=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/SMESH_I/SMESH_Gen_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 2e15edca3..5fa5b3e31 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -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 ); -- 2.39.2