diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-10 14:40:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-10 14:43:11 +0300 |
commit | 4427a67c86450a704bd35b0f7539c0adf152fea2 (patch) | |
tree | 60c1f2751e2e34774bab744724defae6166a1cfc /source/blender/blenloader/intern/versioning_280.c | |
parent | 5336555c31b3716f68e4c74f6a047c03c066049c (diff) |
Cleanup: use macro for comparing file versions
Already done in most of the versioning code.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index dc945038933..c44e9b5efff 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -1665,7 +1665,7 @@ void do_versions_after_linking_280(Main *bmain, ReportList *UNUSED(reports)) BKE_mesh_tessface_clear(me); /* Moved from do_versions because we need updated polygons for calculating normals. */ - if (MAIN_VERSION_OLDER(bmain, 256, 6)) { + if (!MAIN_VERSION_ATLEAST(bmain, 256, 6)) { BKE_mesh_calc_normals(me); } } |