diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-10 00:15:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-10 00:15:43 +0300 |
commit | 1a8642937dde9b323f055a26a00ece1c3ff6b0e8 (patch) | |
tree | 63679ce04f6c365693c127825de1d9034efecfe6 /release/scripts/startup | |
parent | 2b71f8cac51cd69bbf34f90b37e298d192566883 (diff) |
Fix T72272: Error setting tool in weight paint mode
Error from recent fallback tool support.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py index 6668b261b33..01bd6dc3068 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_common.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py @@ -913,7 +913,7 @@ def _activate_by_item(context, space_type, item, index, *, as_fallback=False): index=index, idname_fallback=item_fallback.idname if item_fallback else "", - keymap_fallback=(item_fallback.keymap[0] or "") if item_fallback else "", + keymap_fallback=item_fallback.keymap[0] if (item_fallback and item_fallback.keymap) else "", ) WindowManager = bpy.types.WindowManager |