Fix wrong DNA struct element lookup in versioning

The type of the element is `short`, not `int`. Harmless since this was checking
for a specific version anyway.
This commit is contained in:
Julian Eisel 2021-10-15 12:36:09 +02:00
parent aca38148ad
commit da3946b710
1 changed files with 1 additions and 1 deletions

View File

@ -1079,7 +1079,7 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
FOREACH_NODETREE_END;
if (!DNA_struct_elem_find(fd->filesdna, "FileAssetSelectParams", "int", "import_type")) {
if (!DNA_struct_elem_find(fd->filesdna, "FileAssetSelectParams", "short", "import_type")) {
LISTBASE_FOREACH (bScreen *, screen, &bmain->screens) {
LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) {
LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) {