UI: Remove Width/Percentage control from Bevel tool settings

Since this control is set as you drag in the viewport anyway, this amount value is effectively useless.

It was only recently added by mistake with the Bevel GSOC.
This commit is contained in:
William Reynish
2020-02-23 16:52:43 +01:00
parent 39d0bf9044
commit 24ea6b713d
@@ -608,15 +608,6 @@ class _defs_edit_mesh:
region_type = context.region.type
if not extra:
if props.offset_type == 'PERCENT':
layout.prop(props, "offset_pct")
else:
offset_text = "Width"
if props.offset_type == 'DEPTH':
offset_text = "Depth"
elif props.offset_type == 'OFFSET':
offset_text = "Offset"
layout.prop(props, "offset", text=offset_text)
if region_type == 'TOOL_HEADER':
layout.prop(props, "offset_type", text="")
else: