diff options
author | Julian Eisel <julian@blender.org> | 2020-09-10 21:16:30 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-09-10 21:19:03 +0300 |
commit | 2ea2ec023ddcff4b593ff8179c96e56f166b032f (patch) | |
tree | e37ed7ff0245f43168e35d6b856bd70923ba18ef /source/blender/makesrna/intern/rna_particle.c | |
parent | 3d53fa581ce5a3faee2c5f35ac7c2294d135dc0a (diff) |
Fix particle "Mass" option not showing enough precision (appears broken)
When using the left and right arrows of the number button, the button
would seem to do nothing. That is because it modified a value smaller
than what is displayed. Show more precision so the button doesn't appear
broken.
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index f64488550cb..eab6349317a 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -3019,7 +3019,7 @@ static void rna_def_particle_settings(BlenderRNA *brna) /* physical properties */ prop = RNA_def_property(srna, "mass", PROP_FLOAT, PROP_UNIT_MASS); RNA_def_property_range(prop, 0.00000001f, 100000.0f); - RNA_def_property_ui_range(prop, 0.01, 100, 1, 3); + RNA_def_property_ui_range(prop, 0.01, 100, 1, 4); RNA_def_property_ui_text(prop, "Mass", "Mass of the particles"); RNA_def_property_update(prop, 0, "rna_Particle_reset"); |