diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-02 23:20:51 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-02 23:20:51 +0400 |
commit | 3b3d811bf0a7e1a69a863d6b248be6dff74ada44 (patch) | |
tree | 2f0946cfb2788311ef238e0fbca18c151e4b72b9 /release | |
parent | 1471a1983c4814467aab583303d50fdb0c059c5c (diff) |
Disallow fill caps for curves without bevel object.
It's getting complicated to detect which part of curve is actually a
cap in cases like extruded 2d curve with non-zero depth.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_curve.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py index f6fcb0a89cd..f8e3d48d40c 100644 --- a/release/scripts/startup/bl_ui/properties_data_curve.py +++ b/release/scripts/startup/bl_ui/properties_data_curve.py @@ -112,7 +112,6 @@ class DATA_PT_shape_curve(CurveButtonsPanel, Panel): sub.active = (curve.dimensions == '2D' or (curve.bevel_object is None and curve.dimensions == '3D')) sub.prop(curve, "fill_mode", text="") col.prop(curve, "use_fill_deform") - col.prop(curve, "use_fill_caps") class DATA_PT_curve_texture_space(CurveButtonsPanel, Panel): @@ -166,6 +165,10 @@ class DATA_PT_geometry_curve(CurveButtonsPanel, Panel): col.label(text="Bevel Object:") col.prop(curve, "bevel_object", text="") + row = col.row() + row.active = curve.bevel_object != None + row.prop(curve, "use_fill_caps") + class DATA_PT_pathanim(CurveButtonsPanelCurve, Panel): bl_label = "Path Animation" |