[Bf-blender-cvs] [f45300856cf] id_copy_refactor: Add Cone: tip soft-min should be zero

Campbell Barton noreply at git.blender.org
Tue Jun 20 17:56:19 CEST 2017


Commit: f45300856cfbdcaf31390643d329e9e4febf71f7
Author: Campbell Barton
Date:   Sun Jun 18 02:07:22 2017 +1000
Branches: id_copy_refactor
https://developer.blender.org/rBf45300856cfbdcaf31390643d329e9e4febf71f7

Add Cone: tip soft-min should be zero

Default value should be included in range.

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

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

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

diff --git a/source/blender/editors/mesh/editmesh_add.c b/source/blender/editors/mesh/editmesh_add.c
index 3725590c188..07fedffaf80 100644
--- a/source/blender/editors/mesh/editmesh_add.c
+++ b/source/blender/editors/mesh/editmesh_add.c
@@ -384,7 +384,7 @@ void MESH_OT_primitive_cone_add(wmOperatorType *ot)
 	/* props */
 	RNA_def_int(ot->srna, "vertices", 32, 3, MESH_ADD_VERTS_MAXI, "Vertices", "", 3, 500);
 	RNA_def_float_distance(ot->srna, "radius1", 1.0f, 0.0, OBJECT_ADD_SIZE_MAXF, "Radius 1", "", 0.001, 100.00);
-	RNA_def_float_distance(ot->srna, "radius2", 0.0f, 0.0, OBJECT_ADD_SIZE_MAXF, "Radius 2", "", 0.001, 100.00);
+	RNA_def_float_distance(ot->srna, "radius2", 0.0f, 0.0, OBJECT_ADD_SIZE_MAXF, "Radius 2", "", 0.0, 100.00);
 	RNA_def_float_distance(ot->srna, "depth", 2.0f, 0.0, OBJECT_ADD_SIZE_MAXF, "Depth", "", 0.001, 100.00);
 	RNA_def_enum(ot->srna, "end_fill_type", fill_type_items, 1, "Base Fill Type", "");




More information about the Bf-blender-cvs mailing list