From 520f71b43a4b24fb7c59d5798657cb7afb552ecf Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 13 Nov 2018 21:01:32 +0100 Subject: Fix tool keymaps not working properly after recent changes. Not sure this is the best fix, but this should be working. Regardless it seems good to tag active tool keymaps as such. --- source/blender/makesdna/DNA_windowmanager_types.h | 1 + 1 file changed, 1 insertion(+) (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 e13847f2473..e51933f5a22 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -345,6 +345,7 @@ enum { KEYMAP_DIFF = (1 << 4), /* diff keymap for user preferences */ KEYMAP_USER_MODIFIED = (1 << 5), /* keymap has user modifications */ KEYMAP_UPDATE = (1 << 6), + KEYMAP_TOOL = (1 << 7), /* keymap for active tool system */ }; typedef struct wmKeyConfig { -- cgit v1.2.3