diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-15 12:34:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-15 12:34:41 +0400 |
commit | 46b61ccf21a6582f399e4a7cd644f80f7c34de76 (patch) | |
tree | ce7df9c006e6362e06822b05613769c2e31b9b39 | |
parent | fadf16919036aa62b12f3a742e5b019621945d6a (diff) |
in response to [#23812] bevel object, but no caps.
tweak the UI so fill options are only available with 2D curves and greyed out when bevel object is used.
-rw-r--r-- | release/scripts/ui/properties_data_curve.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/release/scripts/ui/properties_data_curve.py b/release/scripts/ui/properties_data_curve.py index f6b73e03091..9289b0799e8 100644 --- a/release/scripts/ui/properties_data_curve.py +++ b/release/scripts/ui/properties_data_curve.py @@ -108,12 +108,13 @@ class DATA_PT_shape_curve(CurveButtonsPanel, bpy.types.Panel): sub.prop(curve, "resolution_v", text="Preview V") sub.prop(curve, "render_resolution_v", text="Render V") - if is_curve or is_text: + if (is_curve or is_text) and curve.dimensions != '3D': sub = col.column() - sub.label(text="Caps:") + sub.active = (curve.bevel_object is None) + sub.label(text="Fill:") sub.prop(curve, "use_fill_front") sub.prop(curve, "use_fill_back") - sub.prop(curve, "use_fill_deform") + sub.prop(curve, "use_fill_deform", text="Use Deformed") col.label(text="Textures:") col.prop(curve, "use_map_on_length") |