diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-16 04:30:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-16 04:30:02 +0300 |
commit | 77ff9a2006607893032f709090ea17b944f16aff (patch) | |
tree | be5ac3badbba3caf820057e475b8ad85e1821fb4 /source | |
parent | 59f0db430a9b30de3e96646a2b9c81a6df5bd609 (diff) |
Keymap: remove loading keymaps from old files
These keymaps are not going to work usefully in 2.8x,
remove support for loading them.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index d3a128f34a3..4eea35ad89f 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -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); diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 512481a75b5..afff070946e 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -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; |