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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-16 04:30:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-16 04:30:02 +0300
commit77ff9a2006607893032f709090ea17b944f16aff (patch)
treebe5ac3badbba3caf820057e475b8ad85e1821fb4 /source/blender/blenloader
parent59f0db430a9b30de3e96646a2b9c81a6df5bd609 (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/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c6
1 files changed, 0 insertions, 6 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);