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 /release
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 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 2f4a182024f..17d75dca41b 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -1476,6 +1476,7 @@ class VIEW3D_MT_edit_mesh(Menu):
layout.operator("view3d.edit_mesh_extrude_move_normal", text="Extrude Region")
layout.operator("view3d.edit_mesh_extrude_individual_move", text="Extrude Individual")
+ layout.operator("mesh.dissolve_limited") # BMESH ONLY
layout.operator("mesh.duplicate_move")
layout.operator("mesh.delete", text="Delete...")
@@ -1511,6 +1512,7 @@ class VIEW3D_MT_edit_mesh_specials(Menu):
"""
layout.operator("mesh.merge", text="Merge...")
layout.operator("mesh.remove_doubles")
+ layout.operator("mesh.dissolve_limited") # BMESH ONLY
layout.operator("mesh.hide", text="Hide")
layout.operator("mesh.reveal", text="Reveal")
layout.operator("mesh.select_all").action = 'INVERT'