Commit: 3d53fa581ce5a3faee2c5f35ac7c2294d135dc0a Author: Julian Eisel Date: Thu Sep 10 20:04:31 2020 +0200 Branches: master https://developer.blender.org/rB3d53fa581ce5a3faee2c5f35ac7c2294d135dc0a
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. =================================================================== M source/blender/makesrna/intern/rna_particle.c =================================================================== 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"); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs