[Bf-blender-cvs] [03f5acd4457] master: Cleanup: clang-format

Campbell Barton noreply at git.blender.org
Fri Jul 10 08:59:25 CEST 2020


Commit: 03f5acd445786393bfd0f093ad25143afe8dead1
Author: Campbell Barton
Date:   Fri Jul 10 16:03:12 2020 +1000
Branches: master
https://developer.blender.org/rB03f5acd445786393bfd0f093ad25143afe8dead1

Cleanup: clang-format

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

M	source/blender/bmesh/intern/bmesh_query_uv.c
M	source/blender/bmesh/intern/bmesh_query_uv.h

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

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__ */



More information about the Bf-blender-cvs mailing list