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:
authorThomas Dinges <blender@dingto.org>2012-01-05 20:04:25 +0400
committerThomas Dinges <blender@dingto.org>2012-01-05 20:04:25 +0400
commite95a05b29d2a8de065d0dedb9ffcc0c8251a6b35 (patch)
tree10435601927a117cdd2dadd3b3a86f4ea82f7b01 /release/scripts/startup/bl_ui/properties_data_curve.py
parenta46feb5b8f6dacb2a87253fb88ef3d11fc36fe90 (diff)
2.6 UI Files:
* Some code cleanup.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_curve.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_curve.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py
index 02e13966c48..996a9fb9299 100644
--- a/release/scripts/startup/bl_ui/properties_data_curve.py
+++ b/release/scripts/startup/bl_ui/properties_data_curve.py
@@ -214,12 +214,12 @@ class DATA_PT_active_spline(CurveButtonsPanelActive, Panel):
if is_poly:
# These settings are below but its easier to have
# poly's set aside since they use so few settings
- col = split.column()
- col.label(text="Cyclic:")
- col.prop(act_spline, "use_smooth")
- col = split.column()
- col.prop(act_spline, "use_cyclic_u", text="U")
-
+ row = layout.row()
+ row.label(text="Cyclic:")
+ row.prop(act_spline, "use_cyclic_u", text="U")
+
+ layout.prop(act_spline, "use_smooth")
+
else:
col = split.column()
col.label(text="Cyclic:")
@@ -257,13 +257,13 @@ class DATA_PT_active_spline(CurveButtonsPanelActive, Panel):
sub.prop(act_spline, "resolution_v", text="V")
if not is_surf:
- split = layout.split()
- col = split.column()
-
+ col = layout.column()
col.label(text="Interpolation:")
- colsub = col.column()
- colsub.active = (curve.dimensions == '3D')
- colsub.prop(act_spline, "tilt_interpolation", text="Tilt")
+
+ sub = col.column()
+ sub.active = (curve.dimensions == '3D')
+ sub.prop(act_spline, "tilt_interpolation", text="Tilt")
+
col.prop(act_spline, "radius_interpolation", text="Radius")
layout.prop(act_spline, "use_smooth")