mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-24 19:30:34 +05:00
0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SetSourceMesh(): set mesh before calling NotifySubMeshesHypothesisModification()
This commit is contained in:
parent
eb2c096f8e
commit
e07947533e
@ -126,9 +126,10 @@ void StdMeshers_ProjectionSource1D::SetVertexAssociation(const TopoDS_Shape& sou
|
||||
|
||||
void StdMeshers_ProjectionSource1D::SetSourceMesh(SMESH_Mesh* mesh)
|
||||
{
|
||||
if ( _sourceMesh != mesh )
|
||||
if ( _sourceMesh != mesh ) {
|
||||
_sourceMesh = mesh;
|
||||
NotifySubMeshesHypothesisModification();
|
||||
_sourceMesh = mesh;
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
@ -136,9 +136,10 @@ void StdMeshers_ProjectionSource2D::SetVertexAssociation(const TopoDS_Shape& sou
|
||||
|
||||
void StdMeshers_ProjectionSource2D::SetSourceMesh(SMESH_Mesh* mesh)
|
||||
{
|
||||
if ( _sourceMesh != mesh )
|
||||
if ( _sourceMesh != mesh ) {
|
||||
_sourceMesh = mesh;
|
||||
NotifySubMeshesHypothesisModification();
|
||||
_sourceMesh = mesh;
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
@ -135,9 +135,10 @@ void StdMeshers_ProjectionSource3D::SetVertexAssociation(const TopoDS_Shape& sou
|
||||
|
||||
void StdMeshers_ProjectionSource3D::SetSourceMesh(SMESH_Mesh* mesh)
|
||||
{
|
||||
if ( _sourceMesh != mesh )
|
||||
if ( _sourceMesh != mesh ) {
|
||||
_sourceMesh = mesh;
|
||||
NotifySubMeshesHypothesisModification();
|
||||
_sourceMesh = mesh;
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user