Amend to previous 'append warning' commit.

Actually, append/link *is* converted/updated, issue here is IPO-to-FCurves
code is not called from our do_version code, but later, directly from BKE_blender's
setup_app_data. This is bad but not easily fixed it seems, so for now
keep a warning in this case.

thanks Sergey for the headup.
This commit is contained in:
Bastien Montagne 2014-12-12 12:36:36 +01:00
parent a6343696c1
commit fbd25174d1
1 changed files with 3 additions and 5 deletions

View File

@ -2643,12 +2643,10 @@ static int wm_link_append_exec(bContext *C, wmOperator *op)
lib = mainl->curlib;
BLI_assert(lib);
if (mainl->versionfile < BLENDER_VERSION ||
(mainl->versionfile == BLENDER_VERSION && mainl->subversionfile < BLENDER_SUBVERSION))
{
if (mainl->versionfile < 250) {
BKE_reportf(op->reports, RPT_WARNING,
"Linking or appending from an older .blend file format (%d.%d), no conversion will be done! "
"You may want to re-save your lib file with current Blender",
"Linking or appending from a very old .blend file format (%d.%d), no animation conversion will "
"be done! You may want to re-save your lib file with current Blender",
mainl->versionfile, mainl->subversionfile);
}