diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-08 17:31:27 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-08 17:31:27 +0300 |
commit | cb85779da9699d39c6ce6e8edfeadf552c6e33cd (patch) | |
tree | 4b7542c2ddfbea661895ec7e938a687a772505ed /source/blender/makesrna/intern | |
parent | 838842581cdae1030a0e49a80792a39c303a7a80 (diff) |
Change airbrush rate min/max to allow lower values and add separate
soft/hard limits for even lower/higher ones.
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_brush.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c index f3e784045b3..2d81a9d66c1 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -192,8 +192,9 @@ static void rna_def_brush(BlenderRNA *brna) prop= RNA_def_property(srna, "rate", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "rate"); - RNA_def_property_range(prop, 0.010f, 1.0f); - RNA_def_property_ui_text(prop, "Rate", "Number of paints per second for Airbrush"); + RNA_def_property_range(prop, 0.0001f , 10000.0f); + RNA_def_property_ui_range(prop, 0.01f, 1.0f, 1, 3); + RNA_def_property_ui_text(prop, "Rate", "Interval between paints for Airbrush"); RNA_def_property_update(prop, 0, "rna_Brush_update"); prop= RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR_GAMMA); |