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:
authorPablo Dobarro <pablodp606@gmail.com>2020-10-26 00:48:49 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-10-26 00:52:07 +0300
commitc15bd1c4e658f2a19cf74a0f7aaa892c883a7fb1 (patch)
treea578b4121d19d78a32e169bef5228bc92f70d323 /release/scripts/presets
parent1d9499bbbc2c01f4de50cf55c8177de3d7bfdd9b (diff)
Sculpt: Face Set Edit delete Geometry operation
This adds an operation mode to the Face Set Edit tool which deletes the geometry of a Face Set by clicking on it. The operator also checks for the mesh having a single Face Set to avoid deleting the entire object by accident. This is also disabled for Multires to avoid modifying the limit surface without control (it is not an important limitation as base meshes for multires are usually final, but maybe it can be supported in the future). Reviewed By: sergey Differential Revision: https://developer.blender.org/D8938
Diffstat (limited to 'release/scripts/presets')
-rw-r--r--release/scripts/presets/keyconfig/keymap_data/blender_default.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
index c462bf12825..97acdfd311c 100644
--- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py
+++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
@@ -6490,10 +6490,8 @@ def km_3d_view_tool_sculpt_face_set_edit(params):
"3D View Tool: Sculpt, Face Set Edit",
{"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
{"items": [
- ("sculpt.face_set_edit", {"type": params.tool_mouse, "value": 'ANY'},
+ ("sculpt.face_set_edit", {"type": params.tool_mouse, "value": 'PRESS'},
None),
- ("sculpt.face_set_edit", {"type": params.tool_tweak, "value": 'ANY'},
- None)
]},
)