diff --git a/source/blender/draw/modes/overlay_mode.c b/source/blender/draw/modes/overlay_mode.c index dc6aa1daa76..94b5309a724 100644 --- a/source/blender/draw/modes/overlay_mode.c +++ b/source/blender/draw/modes/overlay_mode.c @@ -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()) && - (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 */ diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 3747eaaf0ff..ae5c4389ee3 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -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); - 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); diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index 2484731ef67..0e825d63e1c 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -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)) { - #define IS_SEL 1 - #define IS_UNSEL 2 +#define IS_SEL 1 +#define IS_UNSEL 2 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 } }