diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-17 14:48:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-17 14:48:13 +0400 |
commit | 8480bb64ec7e5f367b914dc46e9c929945a6ebb0 (patch) | |
tree | 3c7a2982a001dd9efb9b99115454576906815637 /source/blender/editors | |
parent | 930765faa81efe3894e5476a59f5f3298da54ae4 (diff) |
Code cleanup: style
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/uvedit/uvedit_smart_stitch.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index 31c91ad01eb..db233c6753b 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -4369,7 +4369,7 @@ static int make_segment_exec(bContext *C, wmOperator *op) if (isNurbsel_count(cu, nu) == 1) { /* only 1 selected, not first or last, a little complex, but intuitive */ if (nu->pntsv == 1) { - if ( (nu->bp->f1 & SELECT) || (nu->bp[nu->pntsu - 1].f1 & SELECT)) { + if ((nu->bp->f1 & SELECT) || (nu->bp[nu->pntsu - 1].f1 & SELECT)) { /* pass */ } else { diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 94f6174de65..4a298e183e6 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -494,7 +494,7 @@ static int bookmark_delete_exec(bContext *C, wmOperator *op) if (RNA_struct_find_property(op->ptr, "index")) { int index = RNA_int_get(op->ptr, "index"); - if ( (index > -1) && (index < nentries)) { + if ((index > -1) && (index < nentries)) { char name[FILE_MAX]; fsmenu_remove_entry(fsmenu, FS_CATEGORY_BOOKMARKS, index); diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c index 3af947b472e..d8a66979565 100644 --- a/source/blender/editors/uvedit/uvedit_smart_stitch.c +++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c @@ -882,7 +882,7 @@ static void stitch_propagate_uv_final_position(Scene *scene, } /* end of calculations, keep only the selection flag */ - if ( (!state->snap_islands) || ((!state->midpoints) && (element_iter->island == state->static_island))) { + if ((!state->snap_islands) || ((!state->midpoints) && (element_iter->island == state->static_island))) { element_iter->flag &= STITCH_SELECTED; } |