mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 18:18:34 +05:00
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
Do not forget imported mesh on hypotheses modification
This commit is contained in:
parent
19e34e5301
commit
4986d0a274
@ -1179,7 +1179,8 @@ void SMESH_PreMeshInfo::ForgetAllData() const
|
|||||||
|
|
||||||
void SMESH_PreMeshInfo::ForgetOrLoad() const
|
void SMESH_PreMeshInfo::ForgetOrLoad() const
|
||||||
{
|
{
|
||||||
if ( SMESH_Gen_i::GetSMESHGen()->ToForgetMeshDataOnHypModif() )
|
if ( SMESH_Gen_i::GetSMESHGen()->ToForgetMeshDataOnHypModif() &&
|
||||||
|
_mesh->HasShapeToMesh())
|
||||||
ForgetAllData();
|
ForgetAllData();
|
||||||
else
|
else
|
||||||
FullLoadFromFile();
|
FullLoadFromFile();
|
||||||
|
Loading…
Reference in New Issue
Block a user