Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-10-06 12:20:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-10-06 12:20:15 +0300
commit55b7adb9e586efba51caf87e69781a30523a27be (patch)
treee5cf14fdc92eb442ddcb41961baf242fe932518f /source/blender/makesrna/intern
parent471be7e7f58a4776857666df13e473c8ea0f4fd5 (diff)
Error in falloff_angle range in last commit
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r--source/blender/makesrna/intern/rna_brush.c2
1 files changed, 1 insertions, 1 deletions
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");