diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-21 08:22:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-21 08:23:15 +0300 |
commit | 1f67db75f174fa75ea161bf328f2f36f3b20712f (patch) | |
tree | 0aa3010ffe267d10fed02b97c1f01bef5e010533 /source/blender/editors | |
parent | 769b979abb1ed3876afcadc28953cdc1d7c8f516 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_action/action_draw.c | 4 | ||||
-rw-r--r-- | source/blender/editors/uvedit/uvedit_parametrizer.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c index 9da128469cd..3ea3d067216 100644 --- a/source/blender/editors/space_action/action_draw.c +++ b/source/blender/editors/space_action/action_draw.c @@ -302,7 +302,7 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *ar) immRectf(pos, 0.0f, (float)y - ACHANNEL_HEIGHT_HALF(ac), v2d->cur.xmin, (float)y + ACHANNEL_HEIGHT_HALF(ac)); /* frames one and higher get a saturated background */ - immUniformColor3ubvAlpha(color, MIN2(255, color[3]*2)); + immUniformColor3ubvAlpha(color, MIN2(255, color[3] * 2)); immRectf(pos, v2d->cur.xmin, (float)y - ACHANNEL_HEIGHT_HALF(ac), v2d->cur.xmax + EXTRA_SCROLL_PAD, (float)y + ACHANNEL_HEIGHT_HALF(ac)); } else if (ac->datatype == ANIMCONT_MASK) { @@ -313,7 +313,7 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *ar) immRectf(pos, 0.0f, (float)y - ACHANNEL_HEIGHT_HALF(ac), v2d->cur.xmin, (float)y + ACHANNEL_HEIGHT_HALF(ac)); /* frames one and higher get a saturated background */ - immUniformColor3ubvAlpha(color, MIN2(255, color[3]*2)); + immUniformColor3ubvAlpha(color, MIN2(255, color[3] * 2)); immRectf(pos, v2d->cur.xmin, (float)y - ACHANNEL_HEIGHT_HALF(ac), v2d->cur.xmax + EXTRA_SCROLL_PAD, (float)y + ACHANNEL_HEIGHT_HALF(ac)); } } diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c index 352bfbf9a9e..412d68a5d4d 100644 --- a/source/blender/editors/uvedit/uvedit_parametrizer.c +++ b/source/blender/editors/uvedit/uvedit_parametrizer.c @@ -4189,7 +4189,7 @@ static void p_add_ngon(ParamHandle *handle, ParamKey key, int nverts, float normal[3]; zero_v3(normal); - const float *co_curr, *co_prev = co[nverts-1]; + const float *co_curr, *co_prev = co[nverts - 1]; for (int j = 0; j < nverts; j++) { co_curr = co[j]; add_newell_cross_v3_v3v3(normal, co_prev, co_curr); |