Cleanup: remove BKE_mesh_calc_normals_tessface

This was used for versioning, now normals are calculated after
initializing MPoly data.
This commit is contained in:
2019-08-25 14:08:01 +10:00
parent 4ab50eb7fa
commit bada34c766
4 changed files with 11 additions and 68 deletions

View File

@@ -4898,6 +4898,11 @@ static void lib_link_mesh(FileData *fd, Main *main)
/* 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_OLDER(main, 256, 6)) {
BKE_mesh_calc_normals(me);
}
me->id.tag &= ~LIB_TAG_NEED_LINK;
}
}