Wireframe: Fix do_version.

This commit is contained in:
Clément Foucault 2018-06-06 12:32:13 +02:00
parent 7a76223f1f
commit 9f255db4fe
1 changed files with 1 additions and 1 deletions

View 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) {