Keymap: remove loading keymaps from old files

These keymaps are not going to work usefully in 2.8x,
remove support for loading them.
This commit is contained in:
Campbell Barton 2018-11-16 12:30:02 +11:00
parent 59f0db430a
commit 77ff9a2006
2 changed files with 0 additions and 7 deletions

View File

@ -8912,12 +8912,6 @@ static BHead *read_userdef(BlendFileData *bfd, FileData *fd, BHead *bhead)
/* read all data into fd->datamap */
bhead = read_data_into_oldnewmap(fd, bhead, "user def");
if (user->keymaps.first) {
/* backwards compatibility */
user->user_keymaps= user->keymaps;
user->keymaps.first= user->keymaps.last= NULL;
}
link_list(fd, &user->themes);
link_list(fd, &user->user_keymaps);
link_list(fd, &user->user_menus);

View File

@ -568,7 +568,6 @@ typedef struct UserDef {
struct ListBase themes;
struct ListBase uifonts;
struct ListBase uistyles;
struct ListBase keymaps DNA_DEPRECATED; /* deprecated in favor of user_keymaps */
struct ListBase user_keymaps;
struct ListBase addons;
struct ListBase autoexec_paths;