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:
authorGermano Cavalcante <germano.costa@ig.com.br>2020-06-17 22:21:23 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2020-06-17 22:30:31 +0300
commita874cec02bbacb27602168328041773f69b6c121 (patch)
tree9d3b93bcedc81c45d6b59a7b76226ab4f7e9f1c8 /release/scripts/presets/keyconfig/keymap_data/blender_default.py
parenteacdcb2dd80e9e2340fa7a4b8509448b0c72b77a (diff)
UI: Match some properties set in keymaps with those set for buttons
This allows the operator's shortcut to appear in the context menu. Except for the shortcut display, there is no functional change from the user's point of view. This fix T77839
Diffstat (limited to 'release/scripts/presets/keyconfig/keymap_data/blender_default.py')
-rw-r--r--release/scripts/presets/keyconfig/keymap_data/blender_default.py9
1 files changed, 6 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 bbbe520441c..1f5613c86bb 100644
--- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py
+++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
@@ -695,9 +695,12 @@ def km_user_interface(_params):
("ui.copy_data_path_button", {"type": 'C', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True},
{"properties": [("full_path", True)]}),
# Keyframes and drivers
- ("anim.keyframe_insert_button", {"type": 'I', "value": 'PRESS'}, None),
- ("anim.keyframe_delete_button", {"type": 'I', "value": 'PRESS', "alt": True}, None),
- ("anim.keyframe_clear_button", {"type": 'I', "value": 'PRESS', "shift": True, "alt": True}, None),
+ ("anim.keyframe_insert_button", {"type": 'I', "value": 'PRESS'},
+ {"properties": [("all", True)]}),
+ ("anim.keyframe_delete_button", {"type": 'I', "value": 'PRESS', "alt": True},
+ {"properties": [("all", True)]}),
+ ("anim.keyframe_clear_button", {"type": 'I', "value": 'PRESS', "shift": True, "alt": True},
+ {"properties": [("all", True)]}),
("anim.driver_button_add", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
("anim.driver_button_remove", {"type": 'D', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("anim.keyingset_button_add", {"type": 'K', "value": 'PRESS'}, None),