mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 02:20:34 +05:00
0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
in _Listener::ProcessEvent(), clear n2n and e2e maps at CLEAN event
This commit is contained in:
parent
bf2f45b258
commit
1064303dd1
@ -457,8 +457,9 @@ namespace // INTERNAL STUFF
|
|||||||
{
|
{
|
||||||
removeImport = true;
|
removeImport = true;
|
||||||
}
|
}
|
||||||
else if ( SMESH_subMesh::REMOVE_ALGO == event ||
|
else if (( SMESH_subMesh::REMOVE_ALGO == event ||
|
||||||
SMESH_subMesh::REMOVE_FATHER_ALGO == event )
|
SMESH_subMesh::REMOVE_FATHER_ALGO == event ) &&
|
||||||
|
SMESH_subMesh::ALGO_EVENT == eventType )
|
||||||
{
|
{
|
||||||
SMESH_Gen* gen = subMesh->GetFather()->GetGen();
|
SMESH_Gen* gen = subMesh->GetFather()->GetGen();
|
||||||
SMESH_Algo* algo = gen->GetAlgo(*subMesh->GetFather(),subMesh->GetSubShape() );
|
SMESH_Algo* algo = gen->GetAlgo(*subMesh->GetFather(),subMesh->GetSubShape() );
|
||||||
@ -470,7 +471,9 @@ namespace // INTERNAL STUFF
|
|||||||
// treate removal of Import algo from subMesh
|
// treate removal of Import algo from subMesh
|
||||||
removeSubmesh( subMesh, (_ListenerData*) data );
|
removeSubmesh( subMesh, (_ListenerData*) data );
|
||||||
}
|
}
|
||||||
else if ( modifHyp )
|
else if ( modifHyp ||
|
||||||
|
( SMESH_subMesh::CLEAN == event &&
|
||||||
|
SMESH_subMesh::COMPUTE_EVENT == eventType))
|
||||||
{
|
{
|
||||||
// treate modification of ImportSource hypothesis
|
// treate modification of ImportSource hypothesis
|
||||||
clearSubmesh( subMesh, (_ListenerData*) data, /*all=*/false );
|
clearSubmesh( subMesh, (_ListenerData*) data, /*all=*/false );
|
||||||
|
Loading…
Reference in New Issue
Block a user