diff options
author | William Reynish <billrey@me.com> | 2020-01-06 23:54:56 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2020-01-06 23:54:56 +0300 |
commit | 3a35301fd16d9230932a148f0cf64ed6bef9e38b (patch) | |
tree | 8173cb0547da64fd1b41f1d526d8e7f5dc72d1e0 /source/blender | |
parent | 58e88d3816bb3c967e2c54c8e68fde724c68b372 (diff) |
Fix T70821: Hair Radius Is Actually Hair Diameter
Renamed hair tip and root properties to be called diameter rather than radius. The old name was incorrect.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index f3ca10e332a..3193b0341c9 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -3415,19 +3415,19 @@ static void rna_def_particle_settings(BlenderRNA *brna) RNA_def_property_update( prop, 0, "rna_Particle_redo"); /* TODO: Only need to tell the render engine to update. */ - prop = RNA_def_property(srna, "root_radius", PROP_FLOAT, PROP_DISTANCE); + prop = RNA_def_property(srna, "root_diameter", PROP_FLOAT, PROP_DISTANCE); RNA_def_property_float_sdna(prop, NULL, "rad_root"); RNA_def_property_range(prop, 0.0f, FLT_MAX); RNA_def_property_ui_range(prop, 0.0f, 10.0f, 0.1, 2); - RNA_def_property_ui_text(prop, "Root", "Strand width at the root"); + RNA_def_property_ui_text(prop, "Root", "Strand diameter width at the root"); RNA_def_property_update( prop, 0, "rna_Particle_redo"); /* TODO: Only need to tell the render engine to update. */ - prop = RNA_def_property(srna, "tip_radius", PROP_FLOAT, PROP_DISTANCE); + prop = RNA_def_property(srna, "tip_diameter", PROP_FLOAT, PROP_DISTANCE); RNA_def_property_float_sdna(prop, NULL, "rad_tip"); RNA_def_property_range(prop, 0.0f, FLT_MAX); RNA_def_property_ui_range(prop, 0.0f, 10.0f, 0.1, 2); - RNA_def_property_ui_text(prop, "Tip", "Strand width at the tip"); + RNA_def_property_ui_text(prop, "Tip", "Strand diameter width at the tip"); RNA_def_property_update( prop, 0, "rna_Particle_redo"); /* TODO: Only need to tell the render engine to update. */ |