diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-20 00:51:58 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-20 00:51:58 +0300 |
commit | 9ec94c3882a414dc60dd17abfa12838f94f63c24 (patch) | |
tree | 2a0a9911f894dcb26efb8fff3830991071778966 /source | |
parent | d813ee55fdc87282d6ee2452e4db4c218e23986d (diff) |
Cleanup: Don't recalculate normals in versioning code
Normals are not read from files anymore, calculating them in versioning
is unnecessary and wasteful.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 0996b35c8ea..b884fa96d12 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -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); - } } } |