From 24ea6b713d7db459327cf2c62e8d596eebf74d59 Mon Sep 17 00:00:00 2001 From: William Reynish Date: Sun, 23 Feb 2020 16:52:43 +0100 Subject: [PATCH] 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. --- .../scripts/startup/bl_ui/space_toolsystem_toolbar.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index cd1fc49ac8b..2541613d1e6 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -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: