UI Particles: Minor tweaks to labels

* Capitalize 'Orientation Axis' and 'Multiply Mass with Size'
* Rename 'Scaling' to 'Radius Scale'
This commit is contained in:
Pablo Vazquez 2019-02-27 19:50:04 +01:00
parent 7dd802e66d
commit b9a37dd97a
2 changed files with 4 additions and 4 deletions

@ -664,7 +664,7 @@ class PARTICLE_PT_physics(ParticleButtonsPanel, Panel):
if part.physics_type != 'NO': if part.physics_type != 'NO':
col = col.column() col = col.column()
col.prop(part, "mass") 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': if part.physics_type == 'FLUID':
fluid = part.fluid fluid = part.fluid
@ -2107,7 +2107,7 @@ class PARTICLE_PT_hair_shape(ParticleButtonsPanel, Panel):
col.prop(part, "tip_radius", text="Tip") col.prop(part, "tip_radius", text="Tip")
col = layout.column() col = layout.column()
col.prop(part, "radius_scale", text="Radius Scaling") col.prop(part, "radius_scale")
col.prop(part, "use_close_tip") col.prop(part, "use_close_tip")

@ -2265,7 +2265,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
RNA_def_property_enum_sdna(prop, NULL, "rotmode"); RNA_def_property_enum_sdna(prop, NULL, "rotmode");
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_enum_items(prop, rot_mode_items); 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)"); "Particle orientation axis (does not affect Explode modifier's results)");
RNA_def_property_update(prop, 0, "rna_Particle_reset"); 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_float_sdna(prop, NULL, "rad_scale");
RNA_def_property_range(prop, 0.0f, FLT_MAX); 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_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. */ RNA_def_property_update(prop, 0, "rna_Particle_redo"); /* TODO: Only need to tell the render engine to update. */
} }