Fix: Keymap in official pie menus wasnt registered properly, which led to problems

when try to load factory settings. Fix was suggested by Severin, thanks a lot!
This commit is contained in:
Sebastian Koenig 2015-03-10 10:37:19 +01:00
parent 660f2dd8bb
commit d7cb4757aa
1 changed files with 2 additions and 0 deletions

View File

@ -398,6 +398,7 @@ def register():
kmi.properties.name = 'VIEW3D_PIE_pivot'
kmi = km.keymap_items.new('wm.call_menu_pie', 'TAB', 'PRESS', ctrl=True, shift=True)
kmi.properties.name = 'VIEW3D_PIE_snap'
addon_keymaps.append(km)
km = wm.keyconfigs.addon.keymaps.new(name="Clip", space_type='CLIP_EDITOR')
kmi = km.keymap_items.new("wm.call_menu_pie", 'Q', 'PRESS')
@ -410,6 +411,7 @@ def register():
kmi.properties.name = "CLIP_PIE_solver_pie"
kmi = km.keymap_items.new("wm.call_menu_pie", 'W', 'PRESS', shift=True)
kmi.properties.name = "CLIP_PIE_reconstruction_pie"
addon_keymaps.append(km)
km = wm.keyconfigs.addon.keymaps.new(name="Frames")
kmi = km.keymap_items.new("wm.call_menu_pie", 'A', 'PRESS', oskey=True)