mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +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)
|
void StdMeshers_ProjectionSource1D::SetSourceMesh(SMESH_Mesh* mesh)
|
||||||
{
|
{
|
||||||
if ( _sourceMesh != mesh )
|
if ( _sourceMesh != mesh ) {
|
||||||
NotifySubMeshesHypothesisModification();
|
|
||||||
_sourceMesh = mesh;
|
_sourceMesh = mesh;
|
||||||
|
NotifySubMeshesHypothesisModification();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
@ -136,9 +136,10 @@ void StdMeshers_ProjectionSource2D::SetVertexAssociation(const TopoDS_Shape& sou
|
|||||||
|
|
||||||
void StdMeshers_ProjectionSource2D::SetSourceMesh(SMESH_Mesh* mesh)
|
void StdMeshers_ProjectionSource2D::SetSourceMesh(SMESH_Mesh* mesh)
|
||||||
{
|
{
|
||||||
if ( _sourceMesh != mesh )
|
if ( _sourceMesh != mesh ) {
|
||||||
NotifySubMeshesHypothesisModification();
|
|
||||||
_sourceMesh = mesh;
|
_sourceMesh = mesh;
|
||||||
|
NotifySubMeshesHypothesisModification();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
@ -135,9 +135,10 @@ void StdMeshers_ProjectionSource3D::SetVertexAssociation(const TopoDS_Shape& sou
|
|||||||
|
|
||||||
void StdMeshers_ProjectionSource3D::SetSourceMesh(SMESH_Mesh* mesh)
|
void StdMeshers_ProjectionSource3D::SetSourceMesh(SMESH_Mesh* mesh)
|
||||||
{
|
{
|
||||||
if ( _sourceMesh != mesh )
|
if ( _sourceMesh != mesh ) {
|
||||||
NotifySubMeshesHypothesisModification();
|
|
||||||
_sourceMesh = mesh;
|
_sourceMesh = mesh;
|
||||||
|
NotifySubMeshesHypothesisModification();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user