Fix #29864: crash running blender in background mode with non-default key

configuration.
This commit is contained in:
Brecht Van Lommel 2012-01-12 15:44:18 +00:00
parent 2d2d0da51b
commit affb38fd59

@ -981,6 +981,8 @@ void WM_keyconfig_update(wmWindowManager *wm)
wmKeyMapDiffItem *kmdi;
int compat_update = 0;
if(G.background)
return;
if(!WM_KEYMAP_UPDATE)
return;