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:
authorWilliam Reynish <billrey@me.com>2020-01-08 22:37:35 +0300
committerWilliam Reynish <billrey@me.com>2020-01-08 22:37:35 +0300
commitc3b406a7c331e68978eacac543f3be564f7601ac (patch)
tree36a58dc19dedbac260f714af3a865088b5808cb1 /source/blender/makesrna/intern/rna_particle.c
parente72ecaa371579b2068491871f068e813d0696233 (diff)
Revert recent change to the particles RNA, and only affect the UI.
Even though the name change is more correct, we don't want to change the API at this time.
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c8
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 3193b0341c9..4da42eb6bba 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_diameter", PROP_FLOAT, PROP_DISTANCE);
+ prop = RNA_def_property(srna, "root_radius", 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 diameter width at the root");
+ RNA_def_property_ui_text(prop, "Root Diameter", "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_diameter", PROP_FLOAT, PROP_DISTANCE);
+ prop = RNA_def_property(srna, "tip_radius", 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 diameter width at the tip");
+ RNA_def_property_ui_text(prop, "Tip Diameter", "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. */