mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +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);
|
||||
|
||||
if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
|
||||
return;
|
||||
|
||||
const SMESH_Algo *foundAlgo = 0;
|
||||
SMESH_HypoFilter algoKind, compatibleHypoKind;
|
||||
list <const SMESHDS_Hypothesis * > usedHyps;
|
||||
|
Loading…
Reference in New Issue
Block a user