From f0d8fc7200d784ac863db46e0b05275bb2446ce0 Mon Sep 17 00:00:00 2001 From: akl Date: Tue, 27 Mar 2007 09:35:17 +0000 Subject: [PATCH] IPAL15344 (SMESH_MeshEditor.idl: signature of MergeEqualElements() was changed): restore MergeEqualElements() signature. --- src/SMESHGUI/SMESHGUI_SewingDlg.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_SewingDlg.cxx b/src/SMESHGUI/SMESHGUI_SewingDlg.cxx index cefe45d6b..048d93cab 100644 --- a/src/SMESHGUI/SMESHGUI_SewingDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SewingDlg.cxx @@ -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(); -- 2.39.2