diff options
author | Luca Rood <dev@lucarood.com> | 2017-05-19 18:19:20 +0300 |
---|---|---|
committer | Luca Rood <dev@lucarood.com> | 2017-05-19 18:23:19 +0300 |
commit | c62bec8d99bc17c861353cccf50e8b05ab0af973 (patch) | |
tree | 5986b23556943399139c02c2c7ec4be7b5d7cec7 /source/blender/makesrna/intern | |
parent | ef3c2554575c820ace5bce594ef92b841abe7758 (diff) |
Change particle draw_size default and limits
Particle draw size can now no longer be less than 1px, and the default
value has been changed to 4.
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index 3c3d88c858f..067ce28fc59 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -2339,8 +2339,8 @@ static void rna_def_particle_settings(BlenderRNA *brna) RNA_def_property_update(prop, 0, "rna_Particle_redo"); prop = RNA_def_property(srna, "draw_size", PROP_INT, PROP_PIXEL); - RNA_def_property_range(prop, 0, 1000); - RNA_def_property_ui_range(prop, 0, 100, 1, -1); + RNA_def_property_range(prop, 1, 1000); + RNA_def_property_ui_range(prop, 1, 100, 1, -1); RNA_def_property_ui_text(prop, "Draw Size", "Size of particles on viewport in pixels (0=default)"); RNA_def_property_update(prop, 0, "rna_Particle_redo"); |