diff options
author | Julian Eisel <julian@blender.org> | 2020-09-10 21:04:31 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-09-10 21:19:03 +0300 |
commit | 3d53fa581ce5a3faee2c5f35ac7c2294d135dc0a (patch) | |
tree | 5fdb36f28bb65242e178335862bb29e0bcf92571 /source/blender/makesrna | |
parent | c25ac806ac7aea617bb5c1243d792e00fc1c336b (diff) |
Fix particle "Loop Count" number button left/right arrows doing nothing
Was using a step size of 0.1 for an integer. Got caught by sanity assert
in UI code.
Diffstat (limited to 'source/blender/makesrna')
-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 3067a5a9453..f64488550cb 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -3349,7 +3349,7 @@ static void rna_def_particle_settings(BlenderRNA *brna) prop = RNA_def_property(srna, "keyed_loops", PROP_INT, PROP_NONE); RNA_def_property_int_sdna(prop, NULL, "keyed_loops"); RNA_def_property_range(prop, 1.0f, 10000.0f); - RNA_def_property_ui_range(prop, 1.0f, 100.0f, 0.1, 3); + RNA_def_property_ui_range(prop, 1.0f, 100.0f, 1, 3); RNA_def_property_ui_text(prop, "Loop Count", "Number of times the keys are looped"); RNA_def_property_update(prop, 0, "rna_Particle_redo"); |