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-11-19 06:26:59 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-19 06:26:59 +0400
commit185cf6095e50eb4b3c27ad07dc31367da9d486f0 (patch)
tree74645191ff61bc9be7d47a53e4f47267b3ea3058 /source/blender/bmesh/intern/bmesh_opdefines.c
parentcdc4037f0dbdc73016420504a3c6c0f6de78d3a3 (diff)
improvements to bevel
- the resulting selection is now correct internal details - bev_rebuild_polygon() now only rebuilds polygons that are attached to a bevel vertex (was rebuilding ALL). ... need to take care we don't leave faces pointing to removed geometry, so far this works fine. - bev_rebuild_polygon() uses stack memory for <32 size ngons to reduce allocs. - skip hash lookup when removing bevel verts (use tag instead).
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_opdefines.c')
-rw-r--r--source/blender/bmesh/intern/bmesh_opdefines.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c
index c5941a6c637..1700e5c47fd 100644
--- a/source/blender/bmesh/intern/bmesh_opdefines.c
+++ b/source/blender/bmesh/intern/bmesh_opdefines.c
@@ -1076,6 +1076,7 @@ static BMOpDefine bmo_bevel_def = {
{{BMO_OP_SLOT_ELEMENT_BUF, "geom"}, /* input edges and vertices */
{BMO_OP_SLOT_FLT, "offset"}, /* amount to offset beveled edge */
{BMO_OP_SLOT_INT, "segments"}, /* number of segments in bevel */
+ {BMO_OP_SLOT_ELEMENT_BUF, "faceout"}, /* output faces */
{0} /* null-terminating sentinel */},
#else
{{BMO_OP_SLOT_ELEMENT_BUF, "geom"}, /* input edges and vertices */