Commit: 55b7adb9e586efba51caf87e69781a30523a27be
Author: Campbell Barton
Date:   Fri Oct 6 20:20:15 2017 +1100
Branches: master
https://developer.blender.org/rB55b7adb9e586efba51caf87e69781a30523a27be

Error in falloff_angle range in last commit

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

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

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

diff --git a/source/blender/makesrna/intern/rna_brush.c 
b/source/blender/makesrna/intern/rna_brush.c
index e73c1bf57eb..2b2df861f2d 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -1118,7 +1118,7 @@ static void rna_def_brush(BlenderRNA *brna)
 
        prop = RNA_def_property(srna, "falloff_angle", PROP_FLOAT, PROP_ANGLE);
        RNA_def_property_float_sdna(prop, NULL, "falloff_angle");
-       RNA_def_property_range(prop, 0, M_PI * 2);
+       RNA_def_property_range(prop, 0, M_PI / 2);
        RNA_def_property_ui_text(prop, "Falloff Angle",
                                 "Paint most on faces pointing towards the view 
according to this angle");
        RNA_def_property_update(prop, 0, "rna_Brush_update");

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

Reply via email to