From ae0b855a32ddcffb146d66407785f36e277b631c Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Sat, 24 Aug 2019 08:50:58 +0200 Subject: [PATCH] Fix T68807: smoothing group issue Showed in OBJ export. Caused by comparison mistake in rB2e91fc39ac7. Reviewers: mont29 Maniphest Task: T68807 Differential Revision: https://developer.blender.org/D5561 --- source/blender/blenkernel/intern/mesh_mapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/mesh_mapping.c b/source/blender/blenkernel/intern/mesh_mapping.c index 78c0fa184f4..d908a248a28 100644 --- a/source/blender/blenkernel/intern/mesh_mapping.c +++ b/source/blender/blenkernel/intern/mesh_mapping.c @@ -845,7 +845,7 @@ static bool poly_is_island_boundary_smooth_cb(const MPoly *mp, const MPoly *mp_other = (mp == &mpoly_array[edge_poly_map->indices[0]]) ? &mpoly_array[edge_poly_map->indices[1]] : &mpoly_array[edge_poly_map->indices[0]]; - return (mp_other->flag & ME_SMOOTH) != 0; + return (mp_other->flag & ME_SMOOTH) == 0; } return true; }