diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-09-03 17:15:20 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-09-03 17:44:40 +0300 |
commit | c05715b03fe7b82d63ab4339f4fa1dac9884aad1 (patch) | |
tree | db5fc9ccf63e7a217cc94ba652a5da3183405929 /release/scripts/presets/keyconfig/keymap_data/blender_default.py | |
parent | 10d61f34bb8df4008cf96b748f8cd38b4665443c (diff) |
Sculpt: Sculpt Face Set gestures tools
This implements the sculpt gesture lasso and box operators for face
sets. They work the same way as the mask gesture operator and tools.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D8716
Diffstat (limited to 'release/scripts/presets/keyconfig/keymap_data/blender_default.py')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index c3c6e77067e..050d7879e58 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -6319,6 +6319,27 @@ def km_3d_view_tool_sculpt_lasso_mask(params): ]}, ) +def km_3d_view_tool_sculpt_box_face_set(params): + return ( + "3D View Tool: Sculpt, Box Face Set", + {"space_type": 'VIEW_3D', "region_type": 'WINDOW'}, + {"items": [ + ("sculpt.face_set_box_gesture", {"type": params.tool_tweak, "value": 'ANY'}, + None), + ]}, + ) + + +def km_3d_view_tool_sculpt_lasso_face_set(params): + return ( + "3D View Tool: Sculpt, Lasso Face Set", + {"space_type": 'VIEW_3D', "region_type": 'WINDOW'}, + {"items": [ + ("sculpt.face_set_lasso_gesture", {"type": params.tool_tweak, "value": 'ANY'}, + None), + ]}, + ) + def km_3d_view_tool_sculpt_mesh_filter(params): return ( "3D View Tool: Sculpt, Mesh Filter", @@ -6912,6 +6933,8 @@ def generate_keymaps(params=None): km_3d_view_tool_sculpt_box_hide(params), km_3d_view_tool_sculpt_box_mask(params), km_3d_view_tool_sculpt_lasso_mask(params), + km_3d_view_tool_sculpt_box_face_set(params), + km_3d_view_tool_sculpt_lasso_face_set(params), km_3d_view_tool_sculpt_mesh_filter(params), km_3d_view_tool_sculpt_cloth_filter(params), km_3d_view_tool_sculpt_color_filter(params), |