diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-07-10 09:03:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-07-10 09:03:12 +0300 |
commit | 03f5acd445786393bfd0f093ad25143afe8dead1 (patch) | |
tree | 30a5f33520beee51b008564a81eb671a3ec8e384 /source/blender/bmesh/intern | |
parent | 8b660ea0ecd2a8faa81012c7f849b86cff9bfac6 (diff) |
Cleanup: clang-format
Diffstat (limited to 'source/blender/bmesh/intern')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_query_uv.c | 10 | ||||
-rw-r--r-- | source/blender/bmesh/intern/bmesh_query_uv.h | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/bmesh/intern/bmesh_query_uv.c b/source/blender/bmesh/intern/bmesh_query_uv.c index 6d1a8dbbbd0..b9ea51f0c4d 100644 --- a/source/blender/bmesh/intern/bmesh_query_uv.c +++ b/source/blender/bmesh/intern/bmesh_query_uv.c @@ -135,11 +135,11 @@ bool BM_loop_uv_share_edge_check(BMLoop *l_a, BMLoop *l_b, const int cd_loop_uv_ bool BM_loop_uv_share_vert_check(BMLoop *l_a, BMLoop *l_b, const int cd_loop_uv_offset) { BLI_assert(l_a->v == l_b->v); - const MLoopUV *luv_a = BM_ELEM_CD_GET_VOID_P(l_a, cd_loop_uv_offset); - const MLoopUV *luv_b = BM_ELEM_CD_GET_VOID_P(l_b, cd_loop_uv_offset); - if (!equals_v2v2(luv_a->uv, luv_b->uv)) { - return false; - } + const MLoopUV *luv_a = BM_ELEM_CD_GET_VOID_P(l_a, cd_loop_uv_offset); + const MLoopUV *luv_b = BM_ELEM_CD_GET_VOID_P(l_b, cd_loop_uv_offset); + if (!equals_v2v2(luv_a->uv, luv_b->uv)) { + return false; + } return true; } diff --git a/source/blender/bmesh/intern/bmesh_query_uv.h b/source/blender/bmesh/intern/bmesh_query_uv.h index 115c51e2044..293715a8c69 100644 --- a/source/blender/bmesh/intern/bmesh_query_uv.h +++ b/source/blender/bmesh/intern/bmesh_query_uv.h @@ -37,16 +37,16 @@ float BM_face_uv_calc_cross(const BMFace *f, const int cd_loop_uv_offset) ATTR_W ATTR_NONNULL(); bool BM_loop_uv_share_edge_check(BMLoop *l_a, - BMLoop *l_b, - const int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT + BMLoop *l_b, + const int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); bool BM_edge_uv_share_vert_check(BMEdge *e, BMLoop *l_a, BMLoop *l_b, const int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); bool BM_loop_uv_share_vert_check(BMLoop *l_a, - BMLoop *l_b, - const int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT + BMLoop *l_b, + const int cd_loop_uv_offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); #endif /* __BMESH_QUERY_UV_H__ */ |