diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-01 18:47:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-01 18:47:06 +0400 |
commit | 0ac07404baf41aef65367395b86957ab1efa655f (patch) | |
tree | 993f127de5aeee9ef7415e7e2d84d0cf837f0bdf /source/blender/editors/gpencil | |
parent | 462e4bee87f085ae775eaa953a832bfcf6503ca3 (diff) |
style cleanup: braces with multi-line statements, also add some comments.
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 8cd2bd861bc..46815450bf2 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -931,7 +931,8 @@ static void gp_stroke_eraser_dostroke(tGPsdata *p, /* check that point segment of the boundbox of the eraser stroke */ if (((!ELEM(V2D_IS_CLIPPED, x0, y0)) && BLI_rcti_isect_pt(rect, x0, y0)) || - ((!ELEM(V2D_IS_CLIPPED, x1, y1)) && BLI_rcti_isect_pt(rect, x1, y1))) { + ((!ELEM(V2D_IS_CLIPPED, x1, y1)) && BLI_rcti_isect_pt(rect, x1, y1))) + { /* check if point segment of stroke had anything to do with * eraser region (either within stroke painted, or on its lines) * - this assumes that linewidth is irrelevant |