diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-30 00:35:48 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-30 16:59:27 +0300 |
commit | 3d014fa815c9f839b419e018ec0c6cd78907cb7f (patch) | |
tree | a534d4716dfeabd0d02a0f7908893f8abbb36a52 /source/blender/windowmanager/intern | |
parent | 63bcee81f6241e8bdd607ad6398569b9ad4aaa2f (diff) |
Cleanup: Initialize gizmo snap keymap before using
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm_keymap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c index d7102a1e8af..d42d51a8d88 100644 --- a/source/blender/windowmanager/intern/wm_keymap.c +++ b/source/blender/windowmanager/intern/wm_keymap.c @@ -1945,6 +1945,7 @@ wmKeyMap *WM_keymap_active(const wmWindowManager *wm, wmKeyMap *keymap) } /* first user defined keymaps */ + int count = BLI_listbase_count(&wm->userconf->keymaps); km = WM_keymap_list_find( &wm->userconf->keymaps, keymap->idname, keymap->spaceid, keymap->regionid); |