diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-25 14:24:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-25 14:24:31 +0400 |
commit | 7669d0e3179b569efb50270207c5555ae5427daa (patch) | |
tree | 8efb878e60daf4d84ae7302a2a25fe63e3ee781e /source/blender/editors | |
parent | bb7db9383737bb49f78d8e63225aa2094abeb7c4 (diff) |
disable bevel for release after discussion with brecht and sergey, this works far too poorly to be included in release.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 005947ce49b..f3737925850 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -4091,7 +4091,7 @@ static int edbm_bevel_exec(bContext *C, wmOperator *op) BMEdge *eed; BMOperator bmop; float factor = RNA_float_get(op->ptr, "percent") /*, dfac */ /* UNUSED */, df, s; - int i, recursion = RNA_int_get(op->ptr, "recursion"); + int i, recursion = 1; /* RNA_int_get(op->ptr, "recursion"); */ /* temp removed, see comment below */ const int use_even = RNA_boolean_get(op->ptr, "use_even"); const int use_dist = RNA_boolean_get(op->ptr, "use_dist"); float *w = NULL, ftot; @@ -4168,7 +4168,8 @@ void MESH_OT_bevel(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; RNA_def_float(ot->srna, "percent", 0.5f, -FLT_MAX, FLT_MAX, "Percentage", "", 0.0f, 1.0f); - RNA_def_int(ot->srna, "recursion", 1, 1, 50, "Recursion Level", "Recursion Level", 1, 8); +// XXX, disabled for 2.63 release, needs to work much better without overlap before we can give to users. +// RNA_def_int(ot->srna, "recursion", 1, 1, 50, "Recursion Level", "Recursion Level", 1, 8); RNA_def_boolean(ot->srna, "use_even", FALSE, "Even", "Calculate evenly spaced bevel"); RNA_def_boolean(ot->srna, "use_dist", FALSE, "Distance", "Interpret the percent in blender units"); |