[Bf-blender-cvs] [d3514cd6a79] master: ToolSystem: increase the inset tool size

Campbell Barton noreply at git.blender.org
Thu Aug 26 08:07:23 CEST 2021


Commit: d3514cd6a79e5d3dd6d18665dea29ee3bed0e23a
Author: Campbell Barton
Date:   Thu Aug 26 16:02:35 2021 +1000
Branches: master
https://developer.blender.org/rBd3514cd6a79e5d3dd6d18665dea29ee3bed0e23a

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.

===================================================================

M	release/scripts/startup/bl_ui/space_toolsystem_toolbar.py

===================================================================

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,
         )



More information about the Bf-blender-cvs mailing list