Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e34e5
)
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
author
eap
<eap@opencascade.com>
Fri, 24 Feb 2012 11:49:16 +0000
(11:49 +0000)
committer
eap
<eap@opencascade.com>
Fri, 24 Feb 2012 11:49:16 +0000
(11:49 +0000)
Do not forget imported mesh on hypotheses modification
src/SMESH_I/SMESH_PreMeshInfo.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_PreMeshInfo.cxx
b/src/SMESH_I/SMESH_PreMeshInfo.cxx
index e548f1f94e1d83bf5dd2ccbf8193bc69c9153eaf..31cd9aeb783702992df00d8484d42bb9fbc473d1 100644
(file)
--- a/
src/SMESH_I/SMESH_PreMeshInfo.cxx
+++ b/
src/SMESH_I/SMESH_PreMeshInfo.cxx
@@
-1179,7
+1179,8
@@
void SMESH_PreMeshInfo::ForgetAllData() const
void SMESH_PreMeshInfo::ForgetOrLoad() const
{
- if ( SMESH_Gen_i::GetSMESHGen()->ToForgetMeshDataOnHypModif() )
+ if ( SMESH_Gen_i::GetSMESHGen()->ToForgetMeshDataOnHypModif() &&
+ _mesh->HasShapeToMesh())
ForgetAllData();
else
FullLoadFromFile();