Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2019-08-24 09:50:58 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-08-24 09:50:58 +0300
commitae0b855a32ddcffb146d66407785f36e277b631c (patch)
tree94e6ef1ece38978b418c2a380c7a78191af2540b /source
parentc9923baf841a0bbcca686fcc65de5d7bf650854c (diff)
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
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/mesh_mapping.c2
1 files changed, 1 insertions, 1 deletions
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;
}