diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-19 22:19:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-19 22:30:08 +0300 |
commit | e58d788340a442b1584abbb36d3d2a01fda7f810 (patch) | |
tree | f74efa7fa91c88c18a86a82b43d52bb8604ca218 /source/blender/editors | |
parent | 23a4f547e7cf22a5ea7a4ee9bf7de78e1eb41de1 (diff) |
Cleanup: style
Also 'com' as abbreviation for center-of-mass is a bit confusing, rename to 'center'.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 9 | ||||
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index b64aefc4ef7..d54db048faf 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -3524,8 +3524,8 @@ static bool project_paint_flt_max_cull( { if (!ps->is_ortho) { if (coSS->v1[0] == FLT_MAX || - coSS->v2[0] == FLT_MAX || - coSS->v3[0] == FLT_MAX) + coSS->v2[0] == FLT_MAX || + coSS->v3[0] == FLT_MAX) { return true; } @@ -4350,8 +4350,9 @@ static void do_projectpaint_mask_f(ProjPaintState *ps, ProjPixel *projPixel, flo } } -static void image_paint_partial_redraw_expand(ImagePaintPartialRedraw *cell, - const ProjPixel *projPixel) +static void image_paint_partial_redraw_expand( + ImagePaintPartialRedraw *cell, + const ProjPixel *projPixel) { cell->x1 = min_ii(cell->x1, (int)projPixel->x_px); cell->y1 = min_ii(cell->y1, (int)projPixel->y_px); diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index cc8a4357890..41e1b8dee12 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -160,7 +160,7 @@ static int space_image_buffer_exists_poll(bContext *C) { SpaceImage *sima = CTX_wm_space_image(C); if (sima && ED_space_image_has_buffer(sima)) { - return true; + return true; } return false; } |