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:
Brecht Van Lommel 2010-05-05 14:59:22 +00:00
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;
}