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:
@@ -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]]) ?
|
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[1]] :
|
||||||
&mpoly_array[edge_poly_map->indices[0]];
|
&mpoly_array[edge_poly_map->indices[0]];
|
||||||
return (mp_other->flag & ME_SMOOTH) != 0;
|
return (mp_other->flag & ME_SMOOTH) == 0;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user