Fix of IPAL22187: mesh is updated now after removing of orphan nodes.

This commit is contained in:
akl 2011-01-10 11:43:47 +00:00
parent e74edb9fb4
commit 07808b26b0

View File

@ -473,10 +473,12 @@ CORBA::Long SMESH_MeshEditor_i::RemoveOrphanNodes()
for ( int i = 0; i < seq.size(); i++ )
IdList.push_back( seq[i] );
bool ret = anEditor.Remove( IdList, true );
myMesh->GetMeshDS()->Modified();
if ( IdList.size() )
myMesh->SetIsModified( true );
return anEditor.Remove( IdList, true );
return ret;
}
//=============================================================================