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:
577f41d
)
speed up NotifySubMeshesHypothesisModification()
author
eap
<eap@opencascade.com>
Fri, 28 Oct 2011 12:47:11 +0000
(12:47 +0000)
committer
eap
<eap@opencascade.com>
Fri, 28 Oct 2011 12:47:11 +0000
(12:47 +0000)
+ if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
+ return;
src/SMESH/SMESH_Mesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Mesh.cxx
b/src/SMESH/SMESH_Mesh.cxx
index 61cfc4a94454bf03d7004a8fd63ce1455ecf086c..09064df27f131b45d30d9a5d371e3a16b9b8a878 100644
(file)
--- a/
src/SMESH/SMESH_Mesh.cxx
+++ b/
src/SMESH/SMESH_Mesh.cxx
@@
-988,6
+988,9
@@
void SMESH_Mesh::NotifySubMeshesHypothesisModification(const SMESH_Hypothesis* h
{
Unexpect aCatch(SalomeException);
+ if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
+ return;
+
const SMESH_Algo *foundAlgo = 0;
SMESH_HypoFilter algoKind, compatibleHypoKind;
list <const SMESHDS_Hypothesis * > usedHyps;