Cleanup: style
authorCampbell Barton <ideasman42@gmail.com>
Thu, 27 Dec 2018 02:14:37 +0000 (13:14 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 27 Dec 2018 02:14:37 +0000 (13:14 +1100)
source/blender/depsgraph/intern/depsgraph.cc
source/blender/depsgraph/intern/depsgraph_query_iter.cc
source/blender/draw/engines/workbench/workbench_deferred.c
source/blender/editors/transform/transform_conversions.c

index 006e246..2982225 100644 (file)
@@ -152,7 +152,8 @@ static bool pointer_to_component_node_criteria(
                        *subdata = pchan->name;
                        /* But B-Bone properties should connect to the actual operation. */
                        if (!ELEM(NULL, pchan->bone, prop) && pchan->bone->segments > 1 &&
-                           STRPREFIX(RNA_property_identifier(prop), "bbone_")) {
+                           STRPREFIX(RNA_property_identifier(prop), "bbone_"))
+                       {
                                *operation_code = DEG_OPCODE_BONE_SEGMENTS;
                        }
                }
index 88dc744..5b039ce 100644 (file)
@@ -225,7 +225,7 @@ void deg_iterator_objects_step(BLI_Iterator *iter, DEG::IDDepsNode *id_node)
 
        if (ob_visibility & OB_VISIBLE_INSTANCES) {
                if ((data->flag & DEG_ITER_OBJECT_FLAG_DUPLI) &&
-                       (object->transflag & OB_DUPLI))
+                   (object->transflag & OB_DUPLI))
                {
                        data->dupli_parent = object;
                        data->dupli_list = object_duplilist(data->graph, data->scene, object);
index 2096d31..2aa5888 100644 (file)
@@ -839,7 +839,8 @@ void workbench_deferred_solid_cache_populate(WORKBENCH_Data *vedata, Object *ob)
                        }
                }
                else if (ELEM(wpd->shading.color_type,
-                             V3D_SHADING_SINGLE_COLOR, V3D_SHADING_OBJECT_COLOR, V3D_SHADING_RANDOM_COLOR)) {
+                             V3D_SHADING_SINGLE_COLOR, V3D_SHADING_OBJECT_COLOR, V3D_SHADING_RANDOM_COLOR))
+               {
                        /* Draw solid color */
                        material = get_or_create_material_data(vedata, ob, NULL, NULL, wpd->shading.color_type);
                        if (is_sculpt_mode) {
index 8c3187d..1d63291 100644 (file)
@@ -8449,7 +8449,7 @@ static void createTransGPencil(bContext *C, TransInfo *t)
                                                                        /* only copy center in local origins.
                                                                         * This allows get interesting effects also when move using proportional editing */
                                                                        if ((gps->flag & GP_STROKE_SELECT) &&
-                                                                               (ts->transform_pivot_point == V3D_AROUND_LOCAL_ORIGINS))
+                                                                           (ts->transform_pivot_point == V3D_AROUND_LOCAL_ORIGINS))
                                                                        {
                                                                                copy_v3_v3(td->center, center);
                                                                        }