diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-02-08 15:47:32 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-02-08 16:45:33 +0300 |
commit | 5136791de1d39db61a9e97bb54d3dbb5a1dc06c4 (patch) | |
tree | a042f8796e9aeaa5c62b7e7f1f5e41c2b157ae59 /source/blender/makesrna | |
parent | eb9953abc0c9a40c9e7ecf98ff25e7b1b9dbae09 (diff) |
GPencil Eraser: Do not allow eraser radius to get smaller than 1 pixel
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 0692a200224..6a36048acd7 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -3774,7 +3774,7 @@ static void rna_def_userdef_edit(BlenderRNA *brna) prop = RNA_def_property(srna, "grease_pencil_eraser_radius", PROP_INT, PROP_PIXEL); RNA_def_property_int_sdna(prop, NULL, "gp_eraser"); - RNA_def_property_range(prop, 0, 100); + RNA_def_property_range(prop, 1, 500); RNA_def_property_ui_text(prop, "Grease Pencil Eraser Radius", "Radius of eraser 'brush'"); |