Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-08-26 09:02:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-26 09:02:35 +0300
commitd3514cd6a79e5d3dd6d18665dea29ee3bed0e23a (patch)
treed6163de3f8612a55591c816fac52a998aa11701e /release
parent082ddc9379b2bdc963635c1109fbd6c6bce91eed (diff)
ToolSystem: increase the inset tool size
The inset tool requires moving the cursor towards the center of the selection, making it nearly impossible to use the inset tool when the view was aligned with the vertical handle. Use custom settings for VIEW3D_GGT_tool_generic_handle_free to make it draw hollow, as large as the scale tool. Resolves T87991.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_toolbar.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index bde710d8dbf..c5191e80aef 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -824,7 +824,11 @@ class _defs_edit_mesh:
idname="builtin.inset_faces",
label="Inset Faces",
icon="ops.mesh.inset",
- widget="VIEW3D_GGT_tool_generic_handle_normal",
+ widget="VIEW3D_GGT_tool_generic_handle_free",
+ widget_properties=[
+ ("radius", 75.0),
+ ("backdrop_fill_alpha", 0.0),
+ ],
keymap=(),
draw_settings=draw_settings,
)