Commit: b9a37dd97acf6c4254e8246add7af05d68c8bf64
Author: Pablo Vazquez
Date: Wed Feb 27 19:50:04 2019 +0100
Branches: master
https://developer.blender.org/rBb9a37dd97acf6c4254e8246add7af05d68c8bf64
UI Particles: Minor tweaks to labels
* Capitalize 'Orientation Axis' and 'Multiply Mass with Size'
* Rename 'Scaling' to 'Radius Scale'
===================================================================
M release/scripts/startup/bl_ui/properties_particle.py
M source/blender/makesrna/intern/rna_particle.c
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_particle.py
b/release/scripts/startup/bl_ui/properties_particle.py
index cc260ce0a96..8a086e46a27 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -664,7 +664,7 @@ class PARTICLE_PT_physics(ParticleButtonsPanel, Panel):
if part.physics_type != 'NO':
col = col.column()
col.prop(part, "mass")
- col.prop(part, "use_multiply_size_mass", text="Multiply mass with
size")
+ col.prop(part, "use_multiply_size_mass", text="Multiply Mass with
Size")
if part.physics_type == 'FLUID':
fluid = part.fluid
@@ -2107,7 +2107,7 @@ class PARTICLE_PT_hair_shape(ParticleButtonsPanel, Panel):
col.prop(part, "tip_radius", text="Tip")
col = layout.column()
- col.prop(part, "radius_scale", text="Radius Scaling")
+ col.prop(part, "radius_scale")
col.prop(part, "use_close_tip")
diff --git a/source/blender/makesrna/intern/rna_particle.c
b/source/blender/makesrna/intern/rna_particle.c
index ee9cbb8faad..6af131fd857 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -2265,7 +2265,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
RNA_def_property_enum_sdna(prop, NULL, "rotmode");
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_enum_items(prop, rot_mode_items);
- RNA_def_property_ui_text(prop, "Orientation axis",
+ RNA_def_property_ui_text(prop, "Orientation Axis",
"Particle orientation axis (does not affect
Explode modifier's results)");
RNA_def_property_update(prop, 0, "rna_Particle_reset");
@@ -3211,7 +3211,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
RNA_def_property_float_sdna(prop, NULL, "rad_scale");
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, "Scaling", "Multiplier of radius
properties");
+ RNA_def_property_ui_text(prop, "Radius Scale", "Multiplier of radius
properties");
RNA_def_property_update(prop, 0, "rna_Particle_redo"); /* TODO: Only
need to tell the render engine to update. */
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs