diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-01 13:19:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-01 13:20:53 +0300 |
commit | ba798e0412cdcb5e6a10464ced105c8d6708c4b7 (patch) | |
tree | 6c2b781f07ead1f06342616187128b689fb7bf0f /release/scripts/presets | |
parent | 3370af2dc1ced49099a4a7e6e15f3ffd009d91ca (diff) |
Image/Clip Space: Add view center to cursor operators
D5932 by @a.monti with edits
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index 1839dd5f322..fafe950dfd8 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -1587,6 +1587,11 @@ def km_image(params): ("image.clear_render_border", {"type": 'B', "value": 'PRESS', "ctrl": True, "alt": True}, None), ]) + if params.legacy: + items.extend([ + ("image.view_center_cursor", {"type": 'HOME', "value": 'PRESS', "alt": True}, None), + ]) + return keymap @@ -2686,6 +2691,11 @@ def km_clip_editor(params): ("clip.paste_tracks", {"type": 'V', "value": 'PRESS', "ctrl": True}, None), ]) + if params.legacy: + items.extend([ + ("clip.view_center_cursor", {"type": 'HOME', "value": 'PRESS', "alt": True}, None), + ]) + return keymap @@ -6201,7 +6211,7 @@ def generate_keymaps(params=None): km_3d_view_tool_edit_gpencil_select_box(params), km_3d_view_tool_edit_gpencil_select_circle(params), km_3d_view_tool_edit_gpencil_select_lasso(params), - km_3d_view_tool_edit_gpencil_extrude(params), + km_3d_view_tool_edit_gpencil_extrude(params), km_3d_view_tool_edit_gpencil_radius(params), km_3d_view_tool_edit_gpencil_bend(params), km_3d_view_tool_edit_gpencil_shear(params), |