Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-11-21 18:52:05 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-11-21 18:52:05 +0400
commit4fbac96fd5208e633b41dc8ad795d2d937a0b84b (patch)
tree5f54be35eb174da9855b1c08d231118fabd4a1c1 /source/blender/windowmanager/intern/wm_keymap.c
parenta03e119db9d0e9524e802562f6b7fbcc022e7278 (diff)
Fix #29333: issue with modal keymap saving.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_keymap.c')
-rw-r--r--source/blender/windowmanager/intern/wm_keymap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c
index 2e191a5ab6d..c75395456dd 100644
--- a/source/blender/windowmanager/intern/wm_keymap.c
+++ b/source/blender/windowmanager/intern/wm_keymap.c
@@ -597,6 +597,8 @@ static void wm_keymap_diff_update(ListBase *lb, wmKeyMap *defaultmap, wmKeyMap *
/* create diff keymap */
diffmap= wm_keymap_new(km->idname, km->spaceid, km->regionid);
diffmap->flag |= KEYMAP_DIFF;
+ if(defaultmap->flag & KEYMAP_MODAL)
+ diffmap->flag |= KEYMAP_MODAL;
wm_keymap_diff(diffmap, defaultmap, km, origmap, addonmap);
/* add to list if not empty */