diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-12 14:36:36 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-12 14:38:54 +0300 |
commit | fbd25174d1275ddc22a43b4efb437ad23999babe (patch) | |
tree | 098fc1ad72f79c1011f2f5d2b1efd34ec3b07658 /source/blender | |
parent | a6343696c1f349a75604df24d80f63278ebc19f4 (diff) |
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.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 923a71cfe3e..6324771f5e8 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -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); } |