Cleanup: Don't recalculate normals in versioning code

Normals are not read from files anymore, calculating them in versioning
is unnecessary and wasteful.
This commit is contained in:
Hans Goudey 2022-04-19 16:51:58 -05:00
parent d813ee55fd
commit 9ec94c3882
1 changed files with 0 additions and 5 deletions

View File

@ -1620,11 +1620,6 @@ void do_versions_after_linking_280(Main *bmain, ReportList *UNUSED(reports))
/* Deprecated, only kept for conversion. */
BKE_mesh_tessface_clear(me);
/* Moved from do_versions because we need updated polygons for calculating normals. */
if (!MAIN_VERSION_ATLEAST(bmain, 256, 6)) {
BKE_mesh_calc_normals(me);
}
}
}