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:
Diffstat (limited to 'release/ui')
-rw-r--r--release/ui/buttons_data_curve.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/ui/buttons_data_curve.py b/release/ui/buttons_data_curve.py
index 1a5e56b02a4..94ad073d0bb 100644
--- a/release/ui/buttons_data_curve.py
+++ b/release/ui/buttons_data_curve.py
@@ -56,7 +56,7 @@ class DATA_PT_shape_curve(DataButtonsPanel):
if not is_surf:
row = layout.row()
- row.itemR(curve, "curve_2d")
+ row.itemR(curve, "dimensions", expand=True)
split = layout.split()
@@ -64,7 +64,7 @@ class DATA_PT_shape_curve(DataButtonsPanel):
if not is_surf:
sub = col.column()
- sub.active = curve.curve_2d
+ sub.active = (curve.dimensions=='2D')
sub.itemL(text="Caps:")
row = sub.row()
row.itemR(curve, "front")
@@ -208,7 +208,7 @@ class DATA_PT_active_spline(DataButtonsPanelActive):
if not is_surf:
split = layout.split()
col = split.column()
- col.active = (not curve.curve_2d)
+ col.active = (curve.dimensions=='3D')
col.itemL(text="Interpolation:")
col.itemR(act_spline, "tilt_interpolation", text="Tilt")