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:
authorScott Spadea <scottspadea>2019-01-28 12:49:00 +0300
committerJacques Lucke <mail@jlucke.com>2019-01-28 12:50:32 +0300
commit534891997a6f4d5a2977e5f3cd0e0b3c3eafe9bd (patch)
treeb4d733e08baa1511e4cf921edc7cb19d2af28704 /source/blender/makesrna/intern/rna_brush.c
parent690478027bd795bdbfa55d77987fec6f83c7d03a (diff)
Fix: use pixel as unit for some properties
Differential Revision: https://developer.blender.org/D4266
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-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 91da8c65b07..ee80d01480b 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -1512,7 +1512,7 @@ static void rna_def_brush(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Gradient Spacing", "Spacing before brush gradient goes full circle");
RNA_def_property_update(prop, 0, "rna_Brush_update");
- prop = RNA_def_property(srna, "smooth_stroke_radius", PROP_INT, PROP_NONE);
+ prop = RNA_def_property(srna, "smooth_stroke_radius", PROP_INT, PROP_PIXEL);
RNA_def_property_range(prop, 10, 200);
RNA_def_property_ui_text(prop, "Smooth Stroke Radius", "Minimum distance from last point before stroke continues");
RNA_def_property_update(prop, 0, "rna_Brush_update");