]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix of IPAL22187: mesh is updated now after removing of orphan nodes.
authorakl <akl@opencascade.com>
Mon, 10 Jan 2011 11:43:47 +0000 (11:43 +0000)
committerakl <akl@opencascade.com>
Mon, 10 Jan 2011 11:43:47 +0000 (11:43 +0000)
src/SMESH_I/SMESH_MeshEditor_i.cxx

index 2ae3f57dfd77b670db2f3d309714629734801a7d..1e732f9228988bbd9e8a5a2cf35e059e60cb2beb 100644 (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;
 }
 
 //=============================================================================