From 7eaf00bfb09f5e5a5b0c57d7df7093970aff137e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 22 Aug 2018 10:10:12 +1000 Subject: Cleanup: style --- source/blender/editors/mask/mask_draw.c | 2 +- source/blender/editors/mesh/editmesh_extrude.c | 2 +- source/blender/editors/screen/screen_edit.c | 2 +- source/blender/editors/space_outliner/outliner_dragdrop.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/mask/mask_draw.c b/source/blender/editors/mask/mask_draw.c index a660eb1aa22..fc9cfc85bc5 100644 --- a/source/blender/editors/mask/mask_draw.c +++ b/source/blender/editors/mask/mask_draw.c @@ -460,7 +460,7 @@ static void mask_draw_curve_type(const bContext *C, MaskSpline *spline, float (* mask_color_active_tint(rgb_tmp, rgb_spline, is_active); rgba_uchar_to_float(colors, rgb_tmp); mask_color_active_tint(rgb_tmp, rgb_black, is_active); - rgba_uchar_to_float(colors+4, rgb_tmp); + rgba_uchar_to_float(colors + 4, rgb_tmp); immBindBuiltinProgram(GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR); diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c index 65665fd898c..c2a8ad7c3fe 100644 --- a/source/blender/editors/mesh/editmesh_extrude.c +++ b/source/blender/editors/mesh/editmesh_extrude.c @@ -1065,7 +1065,7 @@ static int edbm_dupli_extrude_cursor_invoke(bContext *C, wmOperator *op, const w float co1[2], co2[2]; if ((ED_view3d_project_float_object(vc.ar, eed->v1->co, co1, V3D_PROJ_TEST_NOP) == V3D_PROJ_RET_OK) && - (ED_view3d_project_float_object(vc.ar, eed->v2->co, co2, V3D_PROJ_TEST_NOP) == V3D_PROJ_RET_OK)) + (ED_view3d_project_float_object(vc.ar, eed->v2->co, co2, V3D_PROJ_TEST_NOP) == V3D_PROJ_RET_OK)) { /* 2D rotate by 90d while adding. * (x, y) = (y, -x) diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c index 240336c0302..e20668e417f 100644 --- a/source/blender/editors/screen/screen_edit.c +++ b/source/blender/editors/screen/screen_edit.c @@ -848,7 +848,7 @@ void ED_screen_global_areas_refresh(wmWindow *win) if ((win->parent != NULL) || screen->temp) { if (win->global_areas.areabase.first) { screen->do_refresh = true; - BKE_screen_area_map_free(&win->global_areas); + BKE_screen_area_map_free(&win->global_areas); } return; } diff --git a/source/blender/editors/space_outliner/outliner_dragdrop.c b/source/blender/editors/space_outliner/outliner_dragdrop.c index 55b9a561503..e3c089a813f 100644 --- a/source/blender/editors/space_outliner/outliner_dragdrop.c +++ b/source/blender/editors/space_outliner/outliner_dragdrop.c @@ -261,8 +261,8 @@ static bool parent_drop_poll(bContext *C, wmDrag *drag, const wmEvent *event, co } else { for (ViewLayer *view_layer = scene->view_layers.first; - view_layer; - view_layer = view_layer->next) + view_layer; + view_layer = view_layer->next) { if (BKE_view_layer_base_find(view_layer, ob)) { return true; -- cgit v1.2.3