private void button_merge_verts_Click(object sender, EventArgs e) { SaveStateForUndo("Merge overlapping verts"); m_dmesh.MergeOverlappingVerts(); m_dmesh.RemoveUnusedVerts(); RefreshGeometry(); }