mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
IPAL21164 TC5.1.2: Regression. Not all created 1D and 2D elements are restored from saved â*.hdfâ file
This commit is contained in:
parent
15aa1938cc
commit
8bdfcf6b27
@ -3753,7 +3753,7 @@ bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
|
|||||||
int smID = smIDs[ i ];
|
int smID = smIDs[ i ];
|
||||||
if ( smID == 0 ) continue;
|
if ( smID == 0 ) continue;
|
||||||
const SMDS_MeshElement* elem = *iE;
|
const SMDS_MeshElement* elem = *iE;
|
||||||
if( smID >= maxID ) {
|
if( smID > maxID ) {
|
||||||
// corresponding subshape no longer exists: maybe geom group has been edited
|
// corresponding subshape no longer exists: maybe geom group has been edited
|
||||||
if ( myNewMeshImpl->HasShapeToMesh() )
|
if ( myNewMeshImpl->HasShapeToMesh() )
|
||||||
mySMESHDSMesh->RemoveElement( elem );
|
mySMESHDSMesh->RemoveElement( elem );
|
||||||
|
Loading…
Reference in New Issue
Block a user