IPAL15344 (SMESH_MeshEditor.idl: signature of MergeEqualElements() was changed):

restore MergeEqualElements() signature.
This commit is contained in:
akl 2007-03-27 09:35:17 +00:00
parent d019e0815b
commit f0d8fc7200

View File

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