diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-03-15 14:58:04 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-03-15 14:58:16 +0300 |
commit | e583e86a9af458058fb2f92de6aaafb681756549 (patch) | |
tree | 77f3e7b36e5f4576fc67170f218d1269e4f1e919 | |
parent | 9a499636df79bc75b9aab92557bb123fdb7a9011 (diff) |
Fix T62284: apply a retroactive fix for T57366 to old files.
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 7005ae2302c..b0b389c6c2d 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -2127,6 +2127,12 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) } } + if (!MAIN_VERSION_ATLEAST(bmain, 280, 28)) { + for (Mesh *mesh = bmain->meshes.first; mesh; mesh = mesh->id.next) { + BKE_mesh_calc_edges_loose(mesh); + } + } + if (!MAIN_VERSION_ATLEAST(bmain, 280, 29)) { for (bScreen *screen = bmain->screens.first; screen; screen = screen->id.next) { for (ScrArea *sa = screen->areabase.first; sa; sa = sa->next) { |