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
This commit is contained in:
Philipp Oeser 2019-08-24 08:50:58 +02:00
parent c9923baf84
commit ae0b855a32
Notes: blender-bot 2023-02-14 19:09:55 +01:00
Referenced by issue blender/blender-addons#68807, OBJ export: Smoothing group issue
1 changed files with 1 additions and 1 deletions

View File

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