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>2019-09-10 16:11:33 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-09-10 16:13:37 +0300
commit0083c96125926d4e76525ff1bbd08a3f1f20307b (patch)
treecfab87dcde7f9ebd4bdc7a872bea1b86fad1231f /release/scripts/presets/keyconfig/keymap_data
parentef47c99fcb9e4f34e9506903c1eee699ab279b66 (diff)
Sculpt: Mask Expand operator
This operator is a combined version of mask expand and mask by normal from the sculpt branch. It can be used to quickly isolate parts of a model based on topology or curvature. - Shift + A starts the operator in topology mode from the active vertex - Shift + Alt + A starts the operator in curvature mode from the active vertex Reviewed By: brecht Differential Revision: https://developer.blender.org/D5657
Diffstat (limited to 'release/scripts/presets/keyconfig/keymap_data')
-rw-r--r--release/scripts/presets/keyconfig/keymap_data/blender_default.py4
1 files changed, 4 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 0bc1219fa4d..582757f2168 100644
--- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py
+++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
@@ -3848,6 +3848,10 @@ def km_sculpt(params):
("paint.mask_lasso_gesture", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("wm.context_toggle", {"type": 'M', "value": 'PRESS', "ctrl": True},
{"properties": [("data_path", 'scene.tool_settings.sculpt.show_mask')]}),
+ ("sculpt.mask_expand", {"type": 'A', "value": 'PRESS', "shift": True},
+ {"properties": [("use_normals", False), ("keep_previous_mask", False), ("invert", True), ("smooth_iterations", 2)]}),
+ ("sculpt.mask_expand", {"type": 'A', "value": 'PRESS', "shift": True, 'alt': True},
+ {"properties": [("use_normals", True), ("keep_previous_mask", True), ("invert", False), ("smooth_iterations", 0)]}),
# Dynamic topology
("sculpt.dynamic_topology_toggle", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
("sculpt.set_detail_size", {"type": 'D', "value": 'PRESS', "shift": True}, None),