diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-07 07:57:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-07 07:57:14 +0300 |
commit | adfbf276a15346c38cc6b7652191c005b9a3ae9b (patch) | |
tree | 6f7d27e9adb8c15d3021c8276d6c577a0e5746ba /source/blender/editors/object | |
parent | 37b457221ec77b485b6e65537ac2db7fd8107e6d (diff) |
Cleanup: style, duplicate includes
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_facemap_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/object/object_select.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/object/object_facemap_ops.c b/source/blender/editors/object/object_facemap_ops.c index 87b59da6c62..d526ea93ffa 100644 --- a/source/blender/editors/object/object_facemap_ops.c +++ b/source/blender/editors/object/object_facemap_ops.c @@ -146,7 +146,7 @@ static void object_fmap_swap_object_mode(Object *ob, int num1, int num2) if (num1 != -1) { if (map[i] == num1) map[i] = num2; - else if (map[i]== num2) + else if (map[i] == num2) map[i] = num1; } } diff --git a/source/blender/editors/object/object_select.c b/source/blender/editors/object/object_select.c index 628c5b846a3..280294e714d 100644 --- a/source/blender/editors/object/object_select.c +++ b/source/blender/editors/object/object_select.c @@ -940,13 +940,13 @@ static int object_select_all_exec(bContext *C, wmOperator *op) { switch (action) { case SEL_SELECT: - ED_object_base_select(base, BA_SELECT); + ED_object_base_select(base, BA_SELECT); break; case SEL_DESELECT: - ED_object_base_select(base, BA_DESELECT); + ED_object_base_select(base, BA_DESELECT); break; case SEL_INVERT: - if ((base->flag & BASE_SELECTED) != 0) { + if ((base->flag & BASE_SELECTED) != 0) { ED_object_base_select(base, BA_DESELECT); } else { |