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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user