From 1de76baf88c96184f579884d50e08b2b463d89eb Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Mon, 15 Oct 2012 23:50:09 +0000 Subject: Add BMesh and WM symmetrize operators * The symmetrize operation makes the input mesh elements symmetrical, but unlike mirroring it only copies in one direction. The edges and faces that cross the plane of symmetry are split as needed to enforce symmetry. * The symmetrize operator can be controlled with the "direction" property, which combines the choices of symmetry plane and positive-negative/negative-positive. The enum for this is BMO_SymmDirection. * Added menu items in the top-level Mesh menu and the WKEY specials menu. * Documentation: http://wiki.blender.org/index.php/User:Nicholasbishop/Symmetrize * Reviewed by Brecht: https://codereview.appspot.com/6618059 --- source/blender/editors/mesh/mesh_ops.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/mesh/mesh_ops.c') diff --git a/source/blender/editors/mesh/mesh_ops.c b/source/blender/editors/mesh/mesh_ops.c index 8ba9b3fe4e7..8a575e57a60 100644 --- a/source/blender/editors/mesh/mesh_ops.c +++ b/source/blender/editors/mesh/mesh_ops.c @@ -166,6 +166,8 @@ void ED_operatortypes_mesh(void) WM_operatortype_append(MESH_OT_convex_hull); + WM_operatortype_append(MESH_OT_symmetrize); + #ifdef WITH_GAMEENGINE WM_operatortype_append(MESH_OT_navmesh_make); WM_operatortype_append(MESH_OT_navmesh_face_copy); -- cgit v1.2.3