Cleanup: style
authorCampbell Barton <ideasman42@gmail.com>
Tue, 4 Sep 2018 22:54:11 +0000 (08:54 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 4 Sep 2018 22:54:11 +0000 (08:54 +1000)
source/blender/draw/modes/overlay_mode.c
source/blender/editors/mesh/editmesh_tools.c
source/blender/editors/uvedit/uvedit_ops.c

index dc6aa1daa76d53d47293191708d23bc594eb8127..94b5309a7240053b890dac02cf2a9e96d235571e 100644 (file)
@@ -261,7 +261,7 @@ static void overlay_cache_populate(void *vedata, Object *ob)
                                        GPUShader *sh = (all_wires) ? e_data.face_wireframe_sh : e_data.face_wireframe_pretty_sh;
 
                                        if ((DRW_state_is_select() || DRW_state_is_depth()) &&
                                        GPUShader *sh = (all_wires) ? e_data.face_wireframe_sh : e_data.face_wireframe_pretty_sh;
 
                                        if ((DRW_state_is_select() || DRW_state_is_depth()) &&
-                                               (v3d->shading.flag & V3D_SHADING_XRAY) != 0)
+                                           (v3d->shading.flag & V3D_SHADING_XRAY) != 0)
                                        {
                                                static float params[2] = {1.2f, 1.0f}; /* Parameters for all wires */
 
                                        {
                                                static float params[2] = {1.2f, 1.0f}; /* Parameters for all wires */
 
index 3747eaaf0ffcd2c40d7b54c155dd76f631e979e7..ae5c4389ee35e0378afd5e180649ff8e94770a87 100644 (file)
@@ -6348,7 +6348,7 @@ static int edbm_bridge_edge_loops_exec(bContext *C, wmOperator *op)
 
        uint objects_len = 0;
        Object **objects = BKE_view_layer_array_from_objects_in_edit_mode_unique_data(view_layer, &objects_len);
 
        uint objects_len = 0;
        Object **objects = BKE_view_layer_array_from_objects_in_edit_mode_unique_data(view_layer, &objects_len);
-       for(uint ob_index = 0; ob_index < objects_len; ob_index++) {
+       for (uint ob_index = 0; ob_index < objects_len; ob_index++) {
                Object *obedit = objects[ob_index];
                BMEditMesh *em = BKE_editmesh_from_object(obedit);
 
                Object *obedit = objects[ob_index];
                BMEditMesh *em = BKE_editmesh_from_object(obedit);
 
index 2484731ef67f9de6be8377831750f9339af1b3ca..0e825d63e1cfaca7c33dad72bb6c75b92e12efa4 100644 (file)
@@ -1389,8 +1389,8 @@ static int uv_select_more_less(bContext *C, const bool select)
                        BM_ITER_MESH (efa, &iter, em->bm, BM_FACES_OF_MESH) {
                                if (uvedit_face_visible_test(scene, obedit, ima, efa)) {
 
                        BM_ITER_MESH (efa, &iter, em->bm, BM_FACES_OF_MESH) {
                                if (uvedit_face_visible_test(scene, obedit, ima, efa)) {
 
-       #define IS_SEL   1
-       #define IS_UNSEL 2
+#define IS_SEL   1
+#define IS_UNSEL 2
 
                                        int sel_state = 0;
 
 
                                        int sel_state = 0;
 
@@ -1411,8 +1411,8 @@ static int uv_select_more_less(bContext *C, const bool select)
                                                }
                                        }
 
                                                }
                                        }
 
-       #undef IS_SEL
-       #undef IS_UNSEL
+#undef IS_SEL
+#undef IS_UNSEL
 
                                }
                        }
 
                                }
                        }