Commit: 8e7eb0b733ea0729eb6274f4c49b198f7ac0adc9
Author: Bastien Montagne
Date:   Sun Nov 1 19:57:52 2015 +0100
Branches: master
https://developer.blender.org/rB8e7eb0b733ea0729eb6274f4c49b198f7ac0adc9

Fix T46660: No need to set explicitely UI range of auto smooth angle anymore.

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

M       source/blender/makesrna/intern/rna_mesh.c

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

diff --git a/source/blender/makesrna/intern/rna_mesh.c 
b/source/blender/makesrna/intern/rna_mesh.c
index f1b5351..2a10636 100644
--- a/source/blender/makesrna/intern/rna_mesh.c
+++ b/source/blender/makesrna/intern/rna_mesh.c
@@ -3460,7 +3460,6 @@ static void rna_def_mesh(BlenderRNA *brna)
        RNA_def_property_float_sdna(prop, NULL, "smoothresh");
        RNA_def_property_float_default(prop, DEG2RADF(180.0f));
        RNA_def_property_range(prop, 0.0f, DEG2RADF(180.0f));
-       RNA_def_property_ui_range(prop, DEG2RADF(0.0f), DEG2RADF(180.0f), 1.0, 
1);
        RNA_def_property_ui_text(prop, "Auto Smooth Angle",
                                 "Maximum angle between face normals that will 
be considered as smooth "
                                 "(unused if custom split normals data are 
available)");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to