diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-20 06:13:23 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-20 06:13:23 +0300 |
commit | 1d5b191f9f99e0da05ccc99ad61064b6c87a6b7d (patch) | |
tree | bc438b4445d83134d58f44379fd65c0fea92d861 /release/scripts/startup/bl_ui/properties_data_curve.py | |
parent | e0f13f41c68172ca61f76b85fdf281fabb48c8b5 (diff) |
UI: Always set curve fill mode inactive for object bevel type
The bevel type is a more useful check for graying out this property
because its effects will be apparent before choosing an object. Before,
the fill type property would only gray out with a bevel object selected.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_curve.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_curve.py | 2 |
1 files changed, 1 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 1329f35d575..083e5470a99 100644 --- a/release/scripts/startup/bl_ui/properties_data_curve.py +++ b/release/scripts/startup/bl_ui/properties_data_curve.py @@ -118,7 +118,7 @@ class DATA_PT_shape_curve(CurveButtonsPanel, Panel): col.separator() sub = col.column() - sub.active = (curve.dimensions == '2D' or (curve.bevel_object is None and curve.dimensions == '3D')) + sub.active = (curve.dimensions == '2D' or (curve.bevel_mode != 'OBJECT' and curve.dimensions == '3D')) sub.prop(curve, "fill_mode") col.prop(curve, "use_fill_deform") |