Skip to content

Commit

Permalink
fix keymaps error when unregistering
Browse files Browse the repository at this point in the history
  • Loading branch information
haikalle committed May 15, 2019
1 parent 197dd0f commit da8bb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io_coat3D/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1829,7 +1829,7 @@ def unregister():

kc = bpy.context.window_manager.keyconfigs.addon
if kc:
km = kc.keymaps.get('Object Mode')
km = kc.keymaps.get('3D View')
for kmi in km.keymap_items:
if kmi.idname == 'wm.call_menu':
if kmi.properties.name == "VIEW3D_MT_Coat_Dynamic_Menu":
Expand Down

0 comments on commit da8bb9d

Please sign in to comment.