forked from bartvdbraak/blender
Fix bug with appending a second time from the same .blend file, it would
get the wrong subversion number and do unnecessary conversions.
This commit is contained in:
parent
b63d069055
commit
575dce788a
@ -12068,7 +12068,9 @@ static Main* library_append_begin(const bContext *C, FileData **fd, char *dir)
|
||||
/* which one do we need? */
|
||||
mainl = blo_find_main(*fd, &(*fd)->mainlist, dir, G.sce);
|
||||
|
||||
mainl->versionfile= (*fd)->fileversion; /* needed for do_version */
|
||||
/* needed for do_version */
|
||||
mainl->versionfile= (*fd)->fileversion;
|
||||
read_file_version(*fd, mainl);
|
||||
|
||||
return mainl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user