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:
parent
aca38148ad
commit
da3946b710
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue