diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-07-02 03:00:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-07-02 03:00:30 +0300 |
commit | 1077514896688e4f439cbd20e0f0c65c88048978 (patch) | |
tree | d3667fb90cff5893c7a8da32b344e564efe1de41 /source/blender/editors | |
parent | 5c249fac9a4c0c2a74bf68243c3d71f227bfc4c6 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/object/object_constraint.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/outliner_edit.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/drawmesh.c | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c index 9c2806f6f5a..d7b7fd7040e 100644 --- a/source/blender/editors/object/object_constraint.c +++ b/source/blender/editors/object/object_constraint.c @@ -1651,7 +1651,7 @@ static bool get_new_constraint_target(bContext *C, int con_type, Object **tar_ob break; } else if (((!only_curve) || (ob->type == OB_CURVE)) && - ((!only_mesh) || (ob->type == OB_MESH))) + ((!only_mesh) || (ob->type == OB_MESH))) { /* set target */ *tar_ob = ob; diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c index 7990c169fce..07608b59d2e 100644 --- a/source/blender/editors/space_outliner/outliner_edit.c +++ b/source/blender/editors/space_outliner/outliner_edit.c @@ -857,7 +857,7 @@ void object_toggle_selectability_cb( } void group_toggle_selectability_cb( - bContext *UNUSED(C), ReportList *reports, Scene *scene, TreeElement *UNUSED(te), + bContext *UNUSED(C), ReportList *UNUSED(reports), Scene *scene, TreeElement *UNUSED(te), TreeStoreElem *UNUSED(tsep), TreeStoreElem *tselem, void *UNUSED(user_data)) { Group *group = (Group *)tselem->id; diff --git a/source/blender/editors/space_view3d/drawmesh.c b/source/blender/editors/space_view3d/drawmesh.c index e0cba8d9a48..791ece14cb9 100644 --- a/source/blender/editors/space_view3d/drawmesh.c +++ b/source/blender/editors/space_view3d/drawmesh.c @@ -986,7 +986,8 @@ static void draw_mesh_textured_old(Scene *scene, View3D *v3d, RegionView3D *rv3d else if ((ob->mode & OB_MODE_TEXTURE_PAINT) == 0) { dm_draw_flag |= DM_DRAW_USE_COLORS; } - } else { + } + else { if ((ob->mode & OB_MODE_TEXTURE_PAINT) == 0) { dm_draw_flag |= DM_DRAW_USE_COLORS; } |