diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-16 14:19:21 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-16 14:19:21 +0400 |
commit | d726b4bddcb5b815148a9e1440f9fb26a32bcdb2 (patch) | |
tree | 607f500a02520d3a0cb57c737b0dea10028c6d42 | |
parent | a120049c3b4453b7f6179fef47fda020d7058879 (diff) |
Fix #34897: Select edge loop shortcut not working in Maya preset
Made it so loop/ring selection are assigned to RELEASE button,
so they're not conflicting with regular selection.
There's still seems to be a conflict between loop and ring
selection, but it was here for ages and that's another story.
-rw-r--r-- | release/scripts/presets/keyconfig/maya.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/release/scripts/presets/keyconfig/maya.py b/release/scripts/presets/keyconfig/maya.py index d6805fb3484..74ddda77830 100644 --- a/release/scripts/presets/keyconfig/maya.py +++ b/release/scripts/presets/keyconfig/maya.py @@ -325,13 +325,15 @@ kmi.properties.action = 'DESELECT' km = kc.keymaps.new('Mesh', space_type='EMPTY', region_type='WINDOW', modal=False) kmi = km.keymap_items.new('mesh.loopcut_slide', 'R', 'PRESS', ctrl=True) -kmi = km.keymap_items.new('mesh.loop_select', 'SELECTMOUSE', 'PRESS', ctrl=True, alt=True) -kmi = km.keymap_items.new('mesh.loop_select', 'SELECTMOUSE', 'PRESS', shift=True, alt=True) +kmi = km.keymap_items.new('mesh.loop_select', 'SELECTMOUSE', 'RELEASE', ctrl=True, alt=True) +kmi.properties.extend = False +kmi = km.keymap_items.new('mesh.loop_select', 'SELECTMOUSE', 'RELEASE', shift=True, alt=True) kmi.properties.extend = True -kmi = km.keymap_items.new('mesh.edgering_select', 'SELECTMOUSE', 'PRESS', ctrl=True, alt=True) -kmi = km.keymap_items.new('mesh.edgering_select', 'SELECTMOUSE', 'PRESS', shift=True, ctrl=True, alt=True) +kmi = km.keymap_items.new('mesh.edgering_select', 'SELECTMOUSE', 'RELEASE', ctrl=True, alt=True) +kmi.properties.extend = False +kmi = km.keymap_items.new('mesh.edgering_select', 'SELECTMOUSE', 'RELEASE', shift=True, ctrl=True, alt=True) kmi.properties.extend = True -kmi = km.keymap_items.new('mesh.select_shortest_path', 'SELECTMOUSE', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('mesh.select_shortest_path', 'SELECTMOUSE', 'RELEASE', ctrl=True) kmi = km.keymap_items.new('mesh.select_all', 'A', 'PRESS') kmi = km.keymap_items.new('mesh.select_more', 'NUMPAD_PLUS', 'PRESS', ctrl=True) kmi = km.keymap_items.new('mesh.select_less', 'NUMPAD_MINUS', 'PRESS', ctrl=True) |