in response to [#23812] bevel object, but no caps.
tweak the UI so fill options are only available with 2D curves and greyed out when bevel object is used.
This commit is contained in:
parent
fadf169190
commit
46b61ccf21
@ -108,12 +108,13 @@ class DATA_PT_shape_curve(CurveButtonsPanel, bpy.types.Panel):
|
||||
sub.prop(curve, "resolution_v", text="Preview V")
|
||||
sub.prop(curve, "render_resolution_v", text="Render V")
|
||||
|
||||
if is_curve or is_text:
|
||||
if (is_curve or is_text) and curve.dimensions != '3D':
|
||||
sub = col.column()
|
||||
sub.label(text="Caps:")
|
||||
sub.active = (curve.bevel_object is None)
|
||||
sub.label(text="Fill:")
|
||||
sub.prop(curve, "use_fill_front")
|
||||
sub.prop(curve, "use_fill_back")
|
||||
sub.prop(curve, "use_fill_deform")
|
||||
sub.prop(curve, "use_fill_deform", text="Use Deformed")
|
||||
|
||||
col.label(text="Textures:")
|
||||
col.prop(curve, "use_map_on_length")
|
||||
|
Loading…
Reference in New Issue
Block a user