Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-13 18:37:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-13 18:37:07 +0400
commitcde2f1124498c79808007d40e082dfdfad658729 (patch)
tree9997cc5d1021770247c68fcfdd62a9917230c6b2 /source/blender/editors/mesh/mesh_ops.c
parent74f268c44238aa8ab8a3e4f781cfb00de360ee70 (diff)
new bmesh tool - limited dissolve.
This is a kind of simplification/cleanup tool which joins adjacent faces and edges based on the angle. I've written this as an exercise (since I havnt written a bmesh operator before), and because quite a few users were asking for the dissolve operator to be extended, but I think this kind of functionality needs its own operator. access from specials menu and mesh menu. notes * this exposed a bug in angle_v3v3v3(). will merge fix into trunk after release. * added utility function BM_vert_edge_angle(), to get the angle between 2 connecting edges of a vert.
Diffstat (limited to 'source/blender/editors/mesh/mesh_ops.c')
-rw-r--r--source/blender/editors/mesh/mesh_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/mesh_ops.c b/source/blender/editors/mesh/mesh_ops.c
index 82f3f5b74d6..ce9d9e37ce0 100644
--- a/source/blender/editors/mesh/mesh_ops.c
+++ b/source/blender/editors/mesh/mesh_ops.c
@@ -115,6 +115,7 @@ void ED_operatortypes_mesh(void)
WM_operatortype_append(MESH_OT_beautify_fill);
WM_operatortype_append(MESH_OT_quads_convert_to_tris);
WM_operatortype_append(MESH_OT_tris_convert_to_quads);
+ WM_operatortype_append(MESH_OT_dissolve_limited);
WM_operatortype_append(MESH_OT_edge_flip);
WM_operatortype_append(MESH_OT_faces_shade_smooth);
WM_operatortype_append(MESH_OT_faces_shade_flat);