Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2019-08-08 13:38:56 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-08-08 16:22:56 +0300
commit5ca3bc7a145f8ac1740cbf46e4701fee3a245b14 (patch)
tree6d1a7635813e3c668753f837ede87f0d81440a98
parent2fb42816cf3ba0c1851142a2bd667b09f65963fa (diff)
Fix T68393: lift hardcoded limit on particle children 'child_radius'
Reviewers: jacqueslucke Maniphest Tasks: T68393 Differential Revision: https://developer.blender.org/D5436
-rw-r--r--source/blender/makesrna/intern/rna_particle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index a96e85473a2..4c50e0c19ae 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -3050,7 +3050,8 @@ static void rna_def_particle_settings(BlenderRNA *brna)
prop = RNA_def_property(srna, "child_radius", PROP_FLOAT, PROP_DISTANCE);
RNA_def_property_float_sdna(prop, NULL, "childrad");
- RNA_def_property_range(prop, 0.0f, 10.0f);
+ RNA_def_property_range(prop, 0.0f, 100000.0f);
+ RNA_def_property_ui_range(prop, 0.0f, 10.0f, 0.1, 3);
RNA_def_property_ui_text(prop, "Child Radius", "Radius of children around parent");
RNA_def_property_update(prop, 0, "rna_Particle_redo_child");