Fix #20886: user defined keymap could be loaded before python scripts,
printing errors when that keymap included python operators.
This commit is contained in:
@@ -190,11 +190,10 @@ void WM_keymap_init(bContext *C)
|
||||
/* create default key config */
|
||||
wm_window_keymap(wm->defaultconf);
|
||||
ED_spacetypes_keymap(wm->defaultconf);
|
||||
WM_keyconfig_userdef(wm);
|
||||
|
||||
wm->initialized |= WM_INIT_KEYMAP;
|
||||
}
|
||||
|
||||
WM_keyconfig_userdef(wm);
|
||||
}
|
||||
|
||||
void WM_check(bContext *C)
|
||||
|
||||
Reference in New Issue
Block a user