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.
This commit is contained in:
parent
3d53fa581c
commit
2ea2ec023d
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue