diff options
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 7321d680537..0b247d9a249 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6887,22 +6887,12 @@ static void link_global(FileData *fd, BlendFileData *bfd) /* other initializers (such as theme color defaults) go to resources.c */ static void do_versions_userdef(FileData *fd, BlendFileData *bfd) { - Main *bmain = bfd->main; UserDef *user = bfd->user; if (user == NULL) { return; } - if (MAIN_VERSION_OLDER(bmain, 266, 4)) { - /* Themes for Node and Sequence editor were not using grid color, - * but back. we copy this over then. */ - LISTBASE_FOREACH (bTheme *, btheme, &user->themes) { - copy_v4_v4_uchar(btheme->space_node.grid, btheme->space_node.back); - copy_v4_v4_uchar(btheme->space_sequencer.grid, btheme->space_sequencer.back); - } - } - if (!DNA_struct_elem_find(fd->filesdna, "UserDef", "WalkNavigation", "walk_navigation")) { user->walk_navigation.mouse_speed = 1.0f; user->walk_navigation.walk_speed = 2.5f; /* m/s */ |