speed up NotifySubMeshesHypothesisModification()

+  if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
+    return;
This commit is contained in:
eap 2011-10-28 12:47:11 +00:00
parent 577f41d12d
commit 07f1cc8292

View File

@ -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;