diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-05-15 13:59:24 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-05-15 13:59:24 +0300 |
commit | 04517ee9362908a48d69f7ddfd6d02cf58407190 (patch) | |
tree | e481cb89196f3c6e716e8dfcf05583062e1cd999 /source/blender/io | |
parent | 5f95912afc4db0d39b31cb704a3142dd17b4d09a (diff) | |
parent | 0ae64a9945db9f3d00ba7ef3780e25e16fabf664 (diff) |
Merge remote-tracking branch 'origin/blender-v2.83-release'
Diffstat (limited to 'source/blender/io')
-rw-r--r-- | source/blender/io/alembic/intern/abc_writer_mesh.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/io/alembic/intern/abc_writer_mesh.cc b/source/blender/io/alembic/intern/abc_writer_mesh.cc index 89c37dab468..df1734c9de1 100644 --- a/source/blender/io/alembic/intern/abc_writer_mesh.cc +++ b/source/blender/io/alembic/intern/abc_writer_mesh.cc @@ -137,7 +137,8 @@ static void get_loop_normals(struct Mesh *mesh, /* If all polygons are smooth shaded, and there are no custom normals, we don't need to export * normals at all. This is also done by other software, see T71246. */ - if (!has_flat_shaded_poly && !CustomData_has_layer(&mesh->ldata, CD_CUSTOMLOOPNORMAL)) { + if (!has_flat_shaded_poly && !CustomData_has_layer(&mesh->ldata, CD_CUSTOMLOOPNORMAL) && + (mesh->flag & ME_AUTOSMOOTH) == 0) { return; } |