mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
Fix reading nodes from a new HDF file
This commit is contained in:
parent
d69431f0bf
commit
c080bab83c
@ -358,7 +358,7 @@ void SMESH_PreMeshInfo::hdf2meshInfo( const std::string& name,
|
||||
int medType = info[i++];
|
||||
int nbElems = info[i++];
|
||||
me2sme = med2smesh.find( (MED::EGeometrieElement) medType );
|
||||
if ( me2sme != me2smeEnd )
|
||||
if ( me2sme != me2smeEnd && nbElems )
|
||||
setNb( me2sme->second, nbElems );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user