diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-15 06:18:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-15 08:48:01 +0300 |
commit | d4156b46d7a4acb22f3abfde14b05c46ead34b43 (patch) | |
tree | 3db542558bd8dbf44b94998df90f62ec7b5d0e13 /release/scripts/modules | |
parent | 3400fe3ecee99cb6a74455943f2755e6f22ef047 (diff) |
Tool System: use categories for tool identifiers
Tools that come with Blender use 'builtin' or 'builtin_brush' prefix.
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py b/release/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py index 0c812780a23..e08e8b45135 100644 --- a/release/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py +++ b/release/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py @@ -68,7 +68,7 @@ def generate(context, space_type): # a shortcut based workflow (before the tool system was added). use_tap_reset = True # TODO: support other tools for modes which don't use this tool. - tap_reset_tool = "Cursor" + tap_reset_tool = "builtin.cursor" # Check the tool is available in the current context. if tap_reset_tool not in items_all_id: use_tap_reset = False @@ -317,7 +317,7 @@ def generate(context, space_type): # ------------------------------------------------------------------------- # Assign A-Z to Keys # - # When th keys are free. + # When the keys are free. if use_auto_keymap_alpha: # Map all unmapped keys to numbers, |