mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-15 21:21:21 +05:00
speed up NotifySubMeshesHypothesisModification()
+ if ( !GetMeshDS()->IsUsedHypothesis( hyp )) + return;
This commit is contained in:
parent
577f41d12d
commit
07f1cc8292
@ -988,6 +988,9 @@ void SMESH_Mesh::NotifySubMeshesHypothesisModification(const SMESH_Hypothesis* h
|
|||||||
{
|
{
|
||||||
Unexpect aCatch(SalomeException);
|
Unexpect aCatch(SalomeException);
|
||||||
|
|
||||||
|
if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
|
||||||
|
return;
|
||||||
|
|
||||||
const SMESH_Algo *foundAlgo = 0;
|
const SMESH_Algo *foundAlgo = 0;
|
||||||
SMESH_HypoFilter algoKind, compatibleHypoKind;
|
SMESH_HypoFilter algoKind, compatibleHypoKind;
|
||||||
list <const SMESHDS_Hypothesis * > usedHyps;
|
list <const SMESHDS_Hypothesis * > usedHyps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user