From a1fed1e268aa3bd6ad32acf751022e5f12db0233 Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Mon, 6 Dec 2010 02:42:59 +0000 Subject: [#25047] Deletion of any custom key map item remove always first one keymap item id for user defined keymaps wasn't defined properly. This is really old, I'm surprised with didn't catch this before. --- source/blender/makesdna/DNA_windowmanager_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_windowmanager_types.h') diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index 78acd1327e7..e2eba140a55 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -228,7 +228,7 @@ typedef struct wmKeyMapItem { /* runtime */ short maptype; /* keymap editor */ - short id; /* unique identifier */ + short id; /* unique identifier. Positive for kmi that override builtins, negative otherwise */ short pad; struct PointerRNA *ptr; /* rna pointer to access properties */ } wmKeyMapItem; -- cgit v1.2.3