Wireframe: Fix do_version.
authorClément Foucault <foucault.clem@gmail.com>
Wed, 6 Jun 2018 10:32:13 +0000 (12:32 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Wed, 6 Jun 2018 10:32:30 +0000 (12:32 +0200)
source/blender/blenloader/intern/versioning_280.c

index 57d36de..f4c61e4 100644 (file)
@@ -1556,7 +1556,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
                                }
                        }
                }
-               if (!DNA_struct_elem_find(fd->filesdna, "View3DShading", "float", "wireframe_threshold")) {
+               if (!DNA_struct_elem_find(fd->filesdna, "View3DOverlay", "float", "wireframe_threshold")) {
                        for (bScreen *screen = bmain->screen.first; screen; screen = screen->id.next) {
                                for (ScrArea *sa = screen->areabase.first; sa; sa = sa->next) {
                                        for (SpaceLink *sl = sa->spacedata.first; sl; sl = sl->next) {