[Bf-blender-cvs] [ae0b855a32d] master: Fix T68807: smoothing group issue

Philipp Oeser noreply at git.blender.org
Sat Aug 24 08:55:31 CEST 2019


Commit: ae0b855a32ddcffb146d66407785f36e277b631c
Author: Philipp Oeser
Date:   Sat Aug 24 08:50:58 2019 +0200
Branches: master
https://developer.blender.org/rBae0b855a32ddcffb146d66407785f36e277b631c

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

===================================================================

M	source/blender/blenkernel/intern/mesh_mapping.c

===================================================================

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;
 }



More information about the Bf-blender-cvs mailing list