diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 22:45:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 22:46:19 +0400 |
commit | 482201d1a0a2e8002c9c8c8dda9e06b8b5c52fea (patch) | |
tree | 376b8c58a78e1c6e506d0c5b8df5ca975d3cd14d /source/blender/editors | |
parent | 0b8774fc427267793b3fc228da4bb0ce63f6cf76 (diff) |
Style cleanup
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/mask/mask_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_utils.c | 4 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c index 221c3c6ad75..e8cd97d8d6a 100644 --- a/source/blender/editors/mask/mask_ops.c +++ b/source/blender/editors/mask/mask_ops.c @@ -80,7 +80,7 @@ MaskSplinePoint *ED_mask_point_find_nearest(const bContext *C, Mask *mask, const MaskSplinePoint *point = NULL; float co[2]; const float threshold_sq = threshold * threshold; - float len_sq= FLT_MAX, scalex, scaley; + float len_sq = FLT_MAX, scalex, scaley; eMaskWhichHandle which_handle = MASK_WHICH_HANDLE_NONE; int width, height; diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c index de09709fcce..4f9ca4c2675 100644 --- a/source/blender/editors/sculpt_paint/paint_utils.c +++ b/source/blender/editors/sculpt_paint/paint_utils.c @@ -170,7 +170,7 @@ float paint_get_tex_pixel(MTex *mtex, float u, float v, struct ImagePool *pool, float co[3] = {u, v, 0.0f}; externtex(mtex, co, &intensity, - rgba, rgba + 1, rgba + 2, rgba + 3, thread, pool); + rgba, rgba + 1, rgba + 2, rgba + 3, thread, pool); return intensity; } @@ -182,7 +182,7 @@ void paint_get_tex_pixel_col(MTex *mtex, float u, float v, float rgba[4], struct float intensity; hasrgb = externtex(mtex, co, &intensity, - rgba, rgba + 1, rgba + 2, rgba + 3, thread, pool); + rgba, rgba + 1, rgba + 2, rgba + 3, thread, pool); if (!hasrgb) { rgba[0] = intensity; rgba[1] = intensity; diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index f4d16b864fb..8b65d2c9432 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -4534,7 +4534,7 @@ static void sculpt_stroke_update_step(bContext *C, struct PaintStroke *UNUSED(st BKE_pbvh_bmesh_detail_size_set(ss->pbvh, (ss->cache->radius / (float)ups->pixel_radius) * - (float)sd->detail_size / 0.4f); + (float)sd->detail_size / 0.4f); } if (sculpt_stroke_dynamic_topology(ss, brush)) { |