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.
This commit is contained in:
Hans Goudey 2020-09-19 22:13:23 -05:00
parent e0f13f41c6
commit 1d5b191f9f
1 changed files with 1 additions and 1 deletions

View File

@ -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")