0020182: EDF SMESH 965 : SIGSEV at study opening with SMESH

be patient to studies with invalid node positions data
This commit is contained in:
eap 2009-02-25 15:22:05 +00:00
parent 167a4d4243
commit 672ca0c09f

View File

@ -3731,7 +3731,7 @@ bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
// -- Most probably a bad study was saved when there were // -- Most probably a bad study was saved when there were
// not fixed bugs in SMDS_MeshInfo // not fixed bugs in SMDS_MeshInfo
if ( elemSet.size() < nbElems ) { if ( elemSet.size() < nbElems ) {
cout << "Warning: Node position data is invalid" << endl; cout << "SMESH_Gen_i::Load(), warning: Node position data is invalid" << endl;
nbElems = elemSet.size(); nbElems = elemSet.size();
} }
// add elements to submeshes // add elements to submeshes