[Bf-blender-cvs] [5ca3bc7a145] master: Fix T68393: lift hardcoded limit on particle children 'child_radius'

Philipp Oeser noreply at git.blender.org
Thu Aug 8 15:25:35 CEST 2019


Commit: 5ca3bc7a145f8ac1740cbf46e4701fee3a245b14
Author: Philipp Oeser
Date:   Thu Aug 8 12:38:56 2019 +0200
Branches: master
https://developer.blender.org/rB5ca3bc7a145f8ac1740cbf46e4701fee3a245b14

Fix T68393: lift hardcoded limit on particle children 'child_radius'

Reviewers: jacqueslucke

Maniphest Tasks: T68393

Differential Revision: https://developer.blender.org/D5436

===================================================================

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 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");



More information about the Bf-blender-cvs mailing list