Fix (unreported) UI: useless setting shown for Text data-blocks.
Since we do not have start/end settings for bevel object for Text, mapping taper to those ends makes no sense here, we can hide that setting.
This commit is contained in:
parent
fa27d81937
commit
96f5918407
|
@ -177,9 +177,11 @@ class DATA_PT_geometry_curve(CurveButtonsPanelCurve, Panel):
|
|||
|
||||
col.prop(curve, "taper_object")
|
||||
|
||||
sub = col.column()
|
||||
sub.active = curve.taper_object is not None
|
||||
sub.prop(curve, "use_map_taper")
|
||||
if type(curve) is not TextCurve:
|
||||
# This setting makes no sense for texts, since we have no control over start/end of the bevel object curve.
|
||||
sub = col.column()
|
||||
sub.active = curve.taper_object is not None
|
||||
sub.prop(curve, "use_map_taper")
|
||||
|
||||
|
||||
class DATA_PT_geometry_curve_bevel(CurveButtonsPanelCurve, Panel):
|
||||
|
|
Loading…
Reference in New Issue