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-12 21:44:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-12 21:44:10 +0400
commit9a92cd80087d5d8158c6af27d2ae3d2da4856ef0 (patch)
tree9f7ebaeac7d2529e05136411855867a14e10feea /source/blender/modifiers/intern/MOD_bevel.c
parent9099e59da86b26c9d360b59dd5c8de769dfa0c4f (diff)
bmesh minor refactor
* add DM_to_bmesh_ex, DM_to_bmesh for converting a derived mesh to a BMesh (rather than a BMEditMesh) * have a generic variable for allocsize: bm_mesh_allocsize_default, rather than copying the values about.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_bevel.c')
-rw-r--r--source/blender/modifiers/intern/MOD_bevel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c
index 1bc768a73c2..f06f595ae1f 100644
--- a/source/blender/modifiers/intern/MOD_bevel.c
+++ b/source/blender/modifiers/intern/MOD_bevel.c
@@ -116,7 +116,6 @@ static DerivedMesh *applyModifier(ModifierData *md, struct Object *ob,
BMIter iter;
BMEdge *e;
BevelModifierData *bmd = (BevelModifierData*) md;
- /* int allocsize[] = {512, 512, 2048, 512}; */ /* UNUSED */
float threshold = cos((bmd->bevel_angle + 0.00001) * M_PI / 180.0);
em = DM_to_editbmesh(ob, dm, NULL, FALSE);