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:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user