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:
parent
e0f13f41c6
commit
1d5b191f9f
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue