Commit: da3946b7108dc43e2783031ad8d231b65c6145ff
Author: Julian Eisel
Date: Fri Oct 15 12:36:09 2021 +0200
Branches: master
https://developer.blender.org/rBda3946b7108dc43e2783031ad8d231b65c6145ff
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.
===================================================================
M source/blender/blenloader/intern/versioning_300.c
===================================================================
diff --git a/source/blender/blenloader/intern/versioning_300.c
b/source/blender/blenloader/intern/versioning_300.c
index a89a5a9b989..af61447e5ad 100644
--- a/source/blender/blenloader/intern/versioning_300.c
+++ b/source/blender/blenloader/intern/versioning_300.c
@@ -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) {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs