mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 13:50:33 +05:00
Fix of IPAL22187: mesh is updated now after removing of orphan nodes.
This commit is contained in:
parent
e74edb9fb4
commit
07808b26b0
@ -473,10 +473,12 @@ CORBA::Long SMESH_MeshEditor_i::RemoveOrphanNodes()
|
|||||||
for ( int i = 0; i < seq.size(); i++ )
|
for ( int i = 0; i < seq.size(); i++ )
|
||||||
IdList.push_back( seq[i] );
|
IdList.push_back( seq[i] );
|
||||||
|
|
||||||
|
bool ret = anEditor.Remove( IdList, true );
|
||||||
|
myMesh->GetMeshDS()->Modified();
|
||||||
if ( IdList.size() )
|
if ( IdList.size() )
|
||||||
myMesh->SetIsModified( true );
|
myMesh->SetIsModified( true );
|
||||||
|
|
||||||
return anEditor.Remove( IdList, true );
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user