Cleanup: style
authorCampbell Barton <ideasman42@gmail.com>
Sat, 2 Jul 2016 00:00:30 +0000 (10:00 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 2 Jul 2016 00:00:30 +0000 (10:00 +1000)
source/blender/editors/object/object_constraint.c
source/blender/editors/space_outliner/outliner_edit.c
source/blender/editors/space_view3d/drawmesh.c

index 9c2806f6f5ab2e5ff2f8c51ca4186608d671ab75..d7b7fd7040e8de491d1dbde4aec5a94d482d19b9 100644 (file)
@@ -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;
index 7990c169fcecf116aef3fb48739cddc870940720..07608b59d2e78889800a2211056727f67f817851 100644 (file)
@@ -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;
index e0cba8d9a48e8efeb3318c14abc3dca940dfa20e..791ece14cb951ced828caf2b706925a325a08d3d 100644 (file)
@@ -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;
                        }