From 48fd740096c283243498d6271b6bff5da275cb36 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 4 Jun 2013 01:23:51 +0000 Subject: edit-mesh improvements to select shortest path - Ctrl+RMB only worked for edges & faces - Menu item 'Select Shortest Path' only worked for vertices. Now Ctrl+RMB works for vertices and the menu item works for verts/edges/faces (depending on the current selection). --- source/blender/bmesh/intern/bmesh_opdefines.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'source/blender/bmesh/intern/bmesh_opdefines.c') diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c index b42e6c537a9..497c99f3f8a 100644 --- a/source/blender/bmesh/intern/bmesh_opdefines.c +++ b/source/blender/bmesh/intern/bmesh_opdefines.c @@ -1275,27 +1275,6 @@ static BMOpDefine bmo_reverse_colors_def = { BMO_OPTYPE_FLAG_NOP, }; -/* - * Shortest Path. - * - * Select the shortest path between 2 verts. - */ -static BMOpDefine bmo_shortest_path_def = { - "shortest_path", - /* slots_in */ - {{"vert_start", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT | BMO_OP_SLOT_SUBTYPE_ELEM_IS_SINGLE}}, /* start vertex */ - {"vert_end", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT | BMO_OP_SLOT_SUBTYPE_ELEM_IS_SINGLE}}, /* end vertex */ - {"type", BMO_OP_SLOT_INT}, /* type of selection */ - {{'\0'}}, - }, - /* slots_out */ - {{"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}}, /* output vertices */ - {{'\0'}}, - }, - bmo_shortest_path_exec, - BMO_OPTYPE_FLAG_SELECT_FLUSH, -}; - /* * Edge Split. * @@ -1769,7 +1748,6 @@ const BMOpDefine *bmo_opdefines[] = { &bmo_rotate_edges_def, &bmo_rotate_uvs_def, &bmo_scale_def, - &bmo_shortest_path_def, &bmo_similar_edges_def, &bmo_similar_faces_def, &bmo_similar_verts_def, -- cgit v1.2.3