Fix pie menu opening delayed in GPencil edit mode

This commit is contained in:
Julian Eisel 2016-03-14 14:19:05 +01:00
parent ca2164d5d7
commit 443bc8dbbd
1 changed files with 5 additions and 0 deletions

View File

@ -400,6 +400,11 @@ def register():
kmi.properties.name = 'VIEW3D_PIE_snap'
addon_keymaps.append(km)
km = wm.keyconfigs.addon.keymaps.new(name='Grease Pencil Stroke Edit Mode')
kmi = km.keymap_items.new('wm.call_menu_pie', 'TAB', 'PRESS')
kmi.properties.name = 'VIEW3D_PIE_object_mode'
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')
kmi.properties.name = "CLIP_PIE_marker_pie"