[Bf-blender-cvs] [a0dce6810d8] master: Edit Mode: Bevel Op: Offset Soft Max to 100

Aaron Carlisle noreply at git.blender.org
Thu Jun 21 19:46:24 CEST 2018


Commit: a0dce6810d8bafd0205e6847fea3febfc08a7bd7
Author: Aaron Carlisle
Date:   Thu Jun 21 13:46:11 2018 -0400
Branches: master
https://developer.blender.org/rBa0dce6810d8bafd0205e6847fea3febfc08a7bd7

Edit Mode: Bevel Op: Offset Soft Max to 100

This is consistent with the modifier

===================================================================

M	source/blender/editors/mesh/editmesh_bevel.c

===================================================================

diff --git a/source/blender/editors/mesh/editmesh_bevel.c b/source/blender/editors/mesh/editmesh_bevel.c
index bf349a4c678..e44a43c4c3a 100644
--- a/source/blender/editors/mesh/editmesh_bevel.c
+++ b/source/blender/editors/mesh/editmesh_bevel.c
@@ -624,7 +624,7 @@ void MESH_OT_bevel(wmOperatorType *ot)
 	ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_GRAB_CURSOR | OPTYPE_BLOCKING;
 
 	RNA_def_enum(ot->srna, "offset_type", offset_type_items, 0, "Amount Type", "What distance Amount measures");
-	prop = RNA_def_float(ot->srna, "offset", 0.0f, -1e6f, 1e6f, "Amount", "", 0.0f, 1.0f);
+	prop = RNA_def_float(ot->srna, "offset", 0.0f, -1e6f, 1e6f, "Amount", "", 0.0f, 100.0f);
 	RNA_def_property_float_array_funcs_runtime(prop, NULL, NULL, mesh_ot_bevel_offset_range_func);
 	RNA_def_int(ot->srna, "segments", 1, 1, SEGMENTS_HARD_MAX, "Segments", "Segments for curved edge", 1, 8);
 	RNA_def_float(ot->srna, "profile", 0.5f, PROFILE_HARD_MIN, 1.0f, "Profile",



More information about the Bf-blender-cvs mailing list