[Bf-blender-cvs] [55b7adb9e58] master: Error in falloff_angle range in last commit
Campbell Barton
noreply at git.blender.org
Fri Oct 6 11:20:32 CEST 2017
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");
More information about the Bf-blender-cvs
mailing list