]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
IPAL15344 (SMESH_MeshEditor.idl: signature of MergeEqualElements() was changed):
authorakl <akl@opencascade.com>
Tue, 27 Mar 2007 09:35:17 +0000 (09:35 +0000)
committerakl <akl@opencascade.com>
Tue, 27 Mar 2007 09:35:17 +0000 (09:35 +0000)
restore MergeEqualElements() signature.

src/SMESHGUI/SMESHGUI_SewingDlg.cxx

index cefe45d6bbaf74c59e3658699fd17abf64021f28..048d93cabb19d5e3b5afdd4f1141b40b5fdcb4ca 100644 (file)
@@ -561,11 +561,8 @@ bool SMESHGUI_SewingDlg::ClickOnApply()
       }
       aResult = (anError == SMESH::SMESH_MeshEditor::SEW_OK);
 
-      if (toMerge && aResult) {
-       SMESH::array_of_long_array_var aGroupsOfElementsID = new SMESH::array_of_long_array;
-       aMeshEditor->FindEqualElements(myMesh, aGroupsOfElementsID);
-        aMeshEditor->MergeEqualElements(aGroupsOfElementsID.inout());
-      }
+      if (toMerge && aResult)
+        aMeshEditor->MergeEqualElements();
 
       QApplication::restoreOverrideCursor();