diff options
author | Thomas Dinges <blender@dingto.org> | 2012-04-05 13:52:03 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2012-04-05 13:52:03 +0400 |
commit | fe99e731c815ee1ba8b642522a57c932b4d8884a (patch) | |
tree | 1bad8fe652e62cb78ccae3cdaff90163215c366c /release | |
parent | f774384606ca3305b59100715b366866d1059a72 (diff) |
UI files:
* Naming convention fixes and one if / elif fix.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_curve.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py index b8e531dd729..7a1d830fd91 100644 --- a/release/scripts/startup/bl_ui/properties_data_curve.py +++ b/release/scripts/startup/bl_ui/properties_data_curve.py @@ -93,7 +93,7 @@ class DATA_PT_shape_curve(CurveButtonsPanel, Panel): col.label(text="Twisting:") col.prop(curve, "twist_mode", text="") col.prop(curve, "twist_smooth", text="Smooth") - if is_text: + elif is_text: col.label(text="Display:") col.prop(curve, "use_fast_edit", text="Fast Editing") @@ -116,9 +116,9 @@ class DATA_PT_shape_curve(CurveButtonsPanel, Panel): if is_curve: col.label(text="Path / Curve-Deform:") sub = col.column() - rowsub = sub.row() - rowsub.prop(curve, "use_radius") - rowsub.prop(curve, "use_stretch") + subsub = sub.row() + subsub.prop(curve, "use_radius") + subsub.prop(curve, "use_stretch") sub.prop(curve, "use_deform_bounds") @@ -322,10 +322,10 @@ class DATA_PT_font(CurveButtonsPanel, Panel): split = layout.split() col = split.column() - colsub = col.column(align=True) - colsub.label(text="Underline:") - colsub.prop(text, "underline_position", text="Position") - colsub.prop(text, "underline_height", text="Thickness") + sub = col.column(align=True) + sub.label(text="Underline:") + sub.prop(text, "underline_position", text="Position") + sub.prop(text, "underline_height", text="Thickness") col = split.column() col.label(text="Character:") |