Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-08-22 03:10:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-22 03:10:12 +0300
commit7eaf00bfb09f5e5a5b0c57d7df7093970aff137e (patch)
tree59b41f1569aa762d3980310f22defd53abe1c6b5 /source/blender/editors
parente8e89c135f56d05d04ae6db7e876725738539291 (diff)
Cleanup: style
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/mask/mask_draw.c2
-rw-r--r--source/blender/editors/mesh/editmesh_extrude.c2
-rw-r--r--source/blender/editors/screen/screen_edit.c2
-rw-r--r--source/blender/editors/space_outliner/outliner_dragdrop.c4
4 files changed, 5 insertions, 5 deletions
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;