mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 17:20:33 +05:00
bug 15579 (Mesh on shell is not updated after change Hypothesis NETGEN 2D)
- algoKind.And( algoKind.IsApplicableTo( aSubShape )); + algoKind.Init( THypType::IsAlgo() ).And( THypType::IsApplicableTo( aSubShape ));
This commit is contained in:
parent
044ac3bd25
commit
2cef76d691
@ -75,6 +75,8 @@ static int MYDEBUG = 0;
|
||||
|
||||
#define cSMESH_Hyp(h) static_cast<const SMESH_Hypothesis*>(h)
|
||||
|
||||
typedef SMESH_HypoFilter THypType;
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
*
|
||||
@ -820,8 +822,7 @@ void SMESH_Mesh::NotifySubMeshesHypothesisModification(const SMESH_Hypothesis* h
|
||||
Unexpect aCatch(SalomeException);
|
||||
|
||||
const SMESH_Algo *foundAlgo = 0;
|
||||
SMESH_HypoFilter algoKind( SMESH_HypoFilter::IsAlgo() );
|
||||
SMESH_HypoFilter compatibleHypoKind;
|
||||
SMESH_HypoFilter algoKind, compatibleHypoKind;
|
||||
list <const SMESHDS_Hypothesis * > usedHyps;
|
||||
|
||||
|
||||
@ -834,7 +835,7 @@ void SMESH_Mesh::NotifySubMeshesHypothesisModification(const SMESH_Hypothesis* h
|
||||
const TopoDS_Shape & aSubShape = aSubMesh->GetSubShape();
|
||||
|
||||
if ( !foundAlgo ) // init filter for algo search
|
||||
algoKind.And( algoKind.IsApplicableTo( aSubShape ));
|
||||
algoKind.Init( THypType::IsAlgo() ).And( THypType::IsApplicableTo( aSubShape ));
|
||||
|
||||
const SMESH_Algo *algo = static_cast<const SMESH_Algo*>
|
||||
( GetHypothesis( aSubShape, algoKind, true ));
|
||||
|
Loading…
Reference in New Issue
Block a user