[Bf-blender-cvs] [52dde11796f] master: Simplify UI-names for B-Bone Ease In/Out settings
Joshua Leung
noreply at git.blender.org
Tue Dec 5 13:00:07 CET 2017
Commit: 52dde11796fcdf1bbf501b7e016b153110fe9761
Author: Joshua Leung
Date: Wed Dec 6 00:58:10 2017 +1300
Branches: master
https://developer.blender.org/rB52dde11796fcdf1bbf501b7e016b153110fe9761
Simplify UI-names for B-Bone Ease In/Out settings
For more consistency with the other settings, and increased readability
when the UI is cramped (and it isn't possible to see the whole names).
===================================================================
M release/scripts/startup/bl_ui/properties_data_bone.py
M source/blender/makesrna/intern/rna_armature.c
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_bone.py b/release/scripts/startup/bl_ui/properties_data_bone.py
index 5e0ef5058dd..9fbb28c0f31 100644
--- a/release/scripts/startup/bl_ui/properties_data_bone.py
+++ b/release/scripts/startup/bl_ui/properties_data_bone.py
@@ -188,13 +188,13 @@ class BONE_PT_curved(BoneButtonsPanel, Panel):
row = col.row()
sub = row.column(align=True)
sub.label(text="Scale:")
- sub.prop(bbone, "bbone_scalein", text="Scale In")
- sub.prop(bbone, "bbone_scaleout", text="Scale Out")
+ sub.prop(bbone, "bbone_scalein", text="In")
+ sub.prop(bbone, "bbone_scaleout", text="Out")
sub = row.column(align=True)
sub.label("Easing:")
- sub.prop(bbone, "bbone_easein", text="Ease In")
- sub.prop(bbone, "bbone_easeout", text="Ease Out")
+ sub.prop(bbone, "bbone_easein", text="In")
+ sub.prop(bbone, "bbone_easeout", text="Out")
if pchan:
layout.separator()
diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c
index b4c5783a530..1f27ba30b67 100644
--- a/source/blender/makesrna/intern/rna_armature.c
+++ b/source/blender/makesrna/intern/rna_armature.c
@@ -548,14 +548,14 @@ void rna_def_bone_curved_common(StructRNA *srna, bool is_posebone)
RNA_def_property_float_sdna(prop, NULL, "ease1");
RNA_def_property_range(prop, -5.0f, 5.0f);
RNA_def_property_float_default(prop, 1.0f);
- RNA_def_property_ui_text(prop, "B-Bone Ease In", "Length of first Bezier Handle (for B-Bones only)");
+ RNA_def_property_ui_text(prop, "Ease In", "Length of first Bezier Handle (for B-Bones only)");
RNA_DEF_CURVEBONE_UPDATE(prop, is_posebone);
prop = RNA_def_property(srna, "bbone_easeout", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "ease2");
RNA_def_property_range(prop, -5.0f, 5.0f);
RNA_def_property_float_default(prop, 1.0f);
- RNA_def_property_ui_text(prop, "B-Bone Ease Out", "Length of second Bezier Handle (for B-Bones only)");
+ RNA_def_property_ui_text(prop, "ase Out", "Length of second Bezier Handle (for B-Bones only)");
RNA_DEF_CURVEBONE_UPDATE(prop, is_posebone);
/* Scale In/Out */
More information about the Bf-blender-cvs
mailing list