[Bf-blender-cvs] [0b2e4fa52e9] sculpt-dev: Cleanup: Clang format

Pablo Dobarro noreply at git.blender.org
Thu Dec 24 19:58:32 CET 2020


Commit: 0b2e4fa52e908dd962f93b38beaf2f4f3c9febe2
Author: Pablo Dobarro
Date:   Thu Dec 24 19:58:09 2020 +0100
Branches: sculpt-dev
https://developer.blender.org/rB0b2e4fa52e908dd962f93b38beaf2f4f3c9febe2

Cleanup: Clang format

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

M	source/blender/editors/mesh/editmesh_fair.c

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

diff --git a/source/blender/editors/mesh/editmesh_fair.c b/source/blender/editors/mesh/editmesh_fair.c
index 321369d864b..f6e21c50e08 100644
--- a/source/blender/editors/mesh/editmesh_fair.c
+++ b/source/blender/editors/mesh/editmesh_fair.c
@@ -43,11 +43,11 @@
 #include "BLT_translation.h"
 
 #include "BKE_bvhutils.h"
-#include "BKE_mesh_fair.h"
 #include "BKE_context.h"
 #include "BKE_editmesh.h"
-#include "BKE_layer.h"
 #include "BKE_editmesh_bvh.h"
+#include "BKE_layer.h"
+#include "BKE_mesh_fair.h"
 #include "BKE_report.h"
 
 #include "ED_mesh.h"
@@ -117,17 +117,17 @@ static int edbm_fair_vertices_exec(bContext *C, wmOperator *op)
     BMIter iter;
     int i;
     bool *fairing_mask = MEM_calloc_arrayN(bm->totvert, sizeof(bool), "fairing mask");
-    BM_ITER_MESH_INDEX(v, &iter, bm, BM_VERTS_OF_MESH, i) {
-        if (!BM_elem_flag_test(v, BM_ELEM_SELECT)) {
-            continue;
-        }
-        if (BM_vert_is_boundary(v)) {
-            continue;
-        }
-        if (!BM_vert_is_manifold(v)) {
-            continue;
-        }
-        fairing_mask[i] = true;
+    BM_ITER_MESH_INDEX (v, &iter, bm, BM_VERTS_OF_MESH, i) {
+      if (!BM_elem_flag_test(v, BM_ELEM_SELECT)) {
+        continue;
+      }
+      if (BM_vert_is_boundary(v)) {
+        continue;
+      }
+      if (!BM_vert_is_manifold(v)) {
+        continue;
+      }
+      fairing_mask[i] = true;
     }
     BKE_bmesh_prefair_and_fair_vertices(bm, fairing_mask, mode);
     MEM_freeN(fairing_mask);
@@ -155,8 +155,10 @@ void MESH_OT_fair_vertices(wmOperatorType *ot)
   ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
 
   /* properties */
-  RNA_def_enum(
-      ot->srna, "mode", prop_edit_mesh_fair_selection_mode_items, MESH_FAIRING_DEPTH_POSITION, "Mode", "");
-
+  RNA_def_enum(ot->srna,
+               "mode",
+               prop_edit_mesh_fair_selection_mode_items,
+               MESH_FAIRING_DEPTH_POSITION,
+               "Mode",
+               "");
 }
-



More information about the Bf-blender-cvs mailing list