diff options
author | Pablo Dobarro <pablodp606> | 2020-09-18 20:32:35 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-09-18 20:40:40 +0300 |
commit | 827dfd76dddec962e67825815931d4f2953c741b (patch) | |
tree | ce54fa0e64773c490a4e2b69650b127522890cf6 /release/scripts/presets | |
parent | 6c9ec1c893f98c2349edd3aaae4b606b55b393c9 (diff) |
Object: Switch Object operator
This object operator exits and frees the edit data of the
current object and enters the same mode in another one in a single step,
without going through object mode or keeping multiple edit object data
active. It is assigned to the D key.
This solves all conflicts that the right/click select keymap and the
emulate 3 button mouse produces for this operation and it is independent
of the state of Lock object modes.
Also, as the SculptSession is freed, when using Multires objects go
back to their preview resolution level, so it is possible to work on
high vertex count scenes without slowing down the viewport and other
performance problems.
Reviewed By: #user_interface, pablovazquez
Differential Revision: https://developer.blender.org/D7510
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 4 |
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 0955c4ad58f..be5d2f2c0d6 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -4349,6 +4349,8 @@ def km_sculpt(params): ) items.extend([ + # Switch Object + ("object.switch_object", {"type": 'D', "value": 'PRESS'}, None), # Brush strokes ("sculpt.brush_stroke", {"type": 'LEFTMOUSE', "value": 'PRESS'}, {"properties": [("mode", 'NORMAL')]}), @@ -4465,6 +4467,8 @@ def km_mesh(params): ) items.extend([ + #Switch Object + ("object.switch_object", {"type": 'D', "value": 'PRESS'}, None), # Tools. ("mesh.loopcut_slide", {"type": 'R', "value": 'PRESS', "ctrl": True}, {"properties": [("TRANSFORM_OT_edge_slide", [("release_confirm", False)],)]}), |