From: akl Date: Tue, 27 Mar 2007 09:35:17 +0000 (+0000) Subject: IPAL15344 (SMESH_MeshEditor.idl: signature of MergeEqualElements() was changed): X-Git-Tag: V3_2_6pre3~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;ds=inline;h=f0d8fc7200d784ac863db46e0b05275bb2446ce0;p=modules%2Fsmesh.git IPAL15344 (SMESH_MeshEditor.idl: signature of MergeEqualElements() was changed): restore MergeEqualElements() signature. --- 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();