Cleanup: whitespace
authorCampbell Barton <ideasman42@gmail.com>
Sat, 12 Aug 2017 03:37:34 +0000 (13:37 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 12 Aug 2017 03:43:40 +0000 (13:43 +1000)
source/blender/blenkernel/intern/appdir.c
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/tracking_util.c
source/blender/blentranslation/msgfmt/msgfmt.c
source/blender/depsgraph/intern/builder/deg_builder.cc
source/blender/editors/space_view3d/view3d_edit.c
source/blender/makesrna/intern/rna_scene_api.c

index a5a907c0f7955abc12176240754b8f9c7c79ab36..f39d8006f765b645156237e8b88f0d9c81d5927e 100644 (file)
@@ -107,7 +107,7 @@ static char *blender_version_decimal(const int ver)
 {
        static char version_str[5];
        BLI_assert(ver < 1000);
-       BLI_snprintf(version_str, sizeof(version_str),"%d.%02d", ver / 100, ver % 100);
+       BLI_snprintf(version_str, sizeof(version_str), "%d.%02d", ver / 100, ver % 100);
        return version_str;
 }
 
index e6e59689e99b0a47dd005c8de13e8dfd4acf10ab..16e9f3d67779a7f1a9904f7425d3ac98b752a5e1 100644 (file)
@@ -3169,7 +3169,7 @@ DerivedMesh *CDDM_merge_verts(DerivedMesh *dm, const int *vtargetmap, const int
                                                MPoly *target_poly = cddm->mpoly + *(cddm->pmap[v_target].indices + i_poly);
 
                                                if (cddm_poly_compare(cddm->mloop, mp, target_poly, vtargetmap, +1) ||
-                                                       cddm_poly_compare(cddm->mloop, mp, target_poly, vtargetmap, -1))
+                                                   cddm_poly_compare(cddm->mloop, mp, target_poly, vtargetmap, -1))
                                                {
                                                        found = true;
                                                        break;
index a95399562d50d74c079bf3135fae936946b14f30..fef0a3bc0ac5c1780d665e6be6b3bc36141e5970 100644 (file)
@@ -876,7 +876,7 @@ static void accessor_release_image_callback(libmv_CacheKey cache_key)
 }
 
 static libmv_CacheKey accessor_get_mask_for_track_callback(
-        libmv_FrameAccessorUserDatauser_data,
+        libmv_FrameAccessorUserData *user_data,
         int clip_index,
         int frame,
         int track_index,
index 7dc8f3e71c800291128f178b113058bb2a409756..3abce7b1d3f601747ed5bf1487fb1dacf0609f30 100644 (file)
@@ -160,7 +160,8 @@ static char **get_keys_sorted(GHash *messages, const uint32_t num_keys)
        return keys;
 }
 
-BLI_INLINE size_t uint32_to_bytes(const int value, char *bytes) {
+BLI_INLINE size_t uint32_to_bytes(const int value, char *bytes)
+{
        size_t i;
        for (i = 0; i < sizeof(value); i++) {
                bytes[i] = (char) ((value >> ((int)i * 8)) & 0xff);
@@ -168,7 +169,8 @@ BLI_INLINE size_t uint32_to_bytes(const int value, char *bytes) {
        return i;
 }
 
-BLI_INLINE size_t msg_to_bytes(char *msg, char *bytes, uint32_t size) {
+BLI_INLINE size_t msg_to_bytes(char *msg, char *bytes, uint32_t size)
+{
        /* Note that we also perform replacing of our NULLSEP placeholder by real NULL char... */
        size_t i;
        for (i = 0; i < size; i++, msg++, bytes++) {
index 086fd0c11442ed6992484f34aaba558fb2ccb68b..e3494e4756eb36433e410a90298df37ce1c4015d 100644 (file)
@@ -69,7 +69,7 @@ static bool check_object_needs_evaluation(Object *object)
 
 void deg_graph_build_flush_layers(Depsgraph *graph)
 {
-       BLI_Stack *stack = BLI_stack_new(sizeof(OperationDepsNode*),
+       BLI_Stack *stack = BLI_stack_new(sizeof(OperationDepsNode *),
                                         "DEG flush layers stack");
        foreach (OperationDepsNode *node, graph->operations) {
                IDDepsNode *id_node = node->owner->owner;
index b2af2fe1d492e3a2af1141075c04773ebb762c7b..b524119019b99064483ad56bd4fdcf6e8c24d83d 100644 (file)
@@ -4758,7 +4758,7 @@ void ED_view3d_cursor3d_update(bContext *C, const int mval[2])
                        float co_curr[2], co_prev[2];
 
                        if ((ED_view3d_project_float_global(ar, fp_prev, co_prev, V3D_PROJ_TEST_NOP) == V3D_PROJ_RET_OK) &&
-                               (ED_view3d_project_float_global(ar, fp_curr, co_curr, V3D_PROJ_TEST_NOP) == V3D_PROJ_RET_OK))
+                           (ED_view3d_project_float_global(ar, fp_curr, co_curr, V3D_PROJ_TEST_NOP) == V3D_PROJ_RET_OK))
                        {
                                rv3d->ofs_lock[0] += (co_curr[0] - co_prev[0]) / (ar->winx * 0.5f);
                                rv3d->ofs_lock[1] += (co_curr[1] - co_prev[1]) / (ar->winy * 0.5f);
index ea7327cfa31b0df87ddc32d83e2267c1bd4f426f..16d91a4964b60dee4bfd91d63c0837eb43ec2e80 100644 (file)
@@ -279,7 +279,7 @@ static void rna_Scene_collada_export(
         int include_shapekeys,
         int deform_bones_only,
         int active_uv_only,
-               int export_texture_type,
+        int export_texture_type,
         int use_texture_copies,
         int triangulate,
         int use_object_instantiation,