From 1d5b191f9f99e0da05ccc99ad61064b6c87a6b7d Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Sat, 19 Sep 2020 22:13:23 -0500 Subject: 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. --- release/scripts/startup/bl_ui/properties_data_curve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/scripts/startup') 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") -- cgit v1.2.3