Cleanup: style
authorCampbell Barton <ideasman42@gmail.com>
Thu, 20 Sep 2018 00:06:59 +0000 (10:06 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 20 Sep 2018 00:06:59 +0000 (10:06 +1000)
source/blender/alembic/intern/abc_points.cc
source/blender/blenkernel/intern/modifiers_bmesh.c
source/blender/blenkernel/intern/tracking_stabilize.c
source/blender/blenkernel/intern/tracking_util.c
source/blender/compositor/nodes/COM_RenderLayersNode.cpp

index 80567cd6bf0ac81b43629827322a385717880698..738adb4cd3ac53c5bf639a50995da589371a1c92 100644 (file)
@@ -60,10 +60,10 @@ using Alembic::AbcGeom::OPointsSchema;
 
 AbcPointsWriter::AbcPointsWriter(Scene *scene,
                                  Object *ob,
-                                    AbcTransformWriter *parent,
-                                    uint32_t time_sampling,
-                                    ExportSettings &settings,
-                                    ParticleSystem *psys)
+                                 AbcTransformWriter *parent,
+                                 uint32_t time_sampling,
+                                 ExportSettings &settings,
+                                 ParticleSystem *psys)
     : AbcObjectWriter(scene, ob, time_sampling, settings, parent)
 {
        m_psys = psys;
index a1172d3f1109d4128a22223703f9a2ebe901e2c0..4de876f1060acb31858bc30165f5ba537c022818 100644 (file)
@@ -106,7 +106,7 @@ void DM_to_bmesh_ex(DerivedMesh *dm, BMesh *bm, const bool calc_face_normal)
 
        /*do verts*/
        bool vert_allocated;
-       mv = mvert = DM_get_vert_array(dm, &vert_allocated);;
+       mv = mvert = DM_get_vert_array(dm, &vert_allocated);
        for (i = 0; i < totvert; i++, mv++) {
                v = BM_vert_create(bm, mv->co, NULL, BM_CREATE_SKIP_CD);
                normal_short_to_float_v3(v->no, mv->no);
index cbf1a02a46c671789cdd560aaafd2b4fbd1c699d..331db5b6ff0d3bd96569413921c08960845eadd0 100644 (file)
@@ -992,7 +992,7 @@ static void initialize_all_tracks(StabContext *ctx, float aspect)
         * By definition, offset contribution is zero there.
         */
        int reference_frame = tracking->stabilization.anchor_frame;
-       float average_angle=0, average_scale_step=0;
+       float average_angle = 0, average_scale_step = 0;
        float average_translation[2], average_pos[2], pivot[2];
        zero_v2(average_translation);
        zero_v2(pivot);
index 8c1b846db84abf64fc7869d98db0ddb42954259d..621e0cc6a2e93246d1518eb4d9fcff1b39e66af1 100644 (file)
@@ -853,17 +853,17 @@ static ImBuf *accessor_get_ibuf(TrackingImageAccessor *accessor,
 }
 
 static libmv_CacheKey accessor_get_image_callback(
-               struct libmv_FrameAccessorUserData *user_data,
-               int clip_index,
-               int frame,
-               libmv_InputMode input_mode,
-               int downscale,
-               const libmv_Region *region,
-               const libmv_FrameTransform *transform,
-               float **destination,
-               int *width,
-               int *height,
-               int *channels)
+        struct libmv_FrameAccessorUserData *user_data,
+        int clip_index,
+        int frame,
+        libmv_InputMode input_mode,
+        int downscale,
+        const libmv_Region *region,
+        const libmv_FrameTransform *transform,
+        float **destination,
+        int *width,
+        int *height,
+        int *channels)
 {
        TrackingImageAccessor *accessor = (TrackingImageAccessor *) user_data;
        ImBuf *ibuf;
index 2286db81860274f2bc7bc7a987d87f2a93ac3871..6c0e709915060c2a33a34e4e9dcbbd87a9d2965d 100644 (file)
@@ -78,8 +78,8 @@ void RenderLayersNode::testRenderLink(NodeConverter &converter,
        const int num_outputs = this->getNumberOfOutputSockets();
        for (int i = 0; i < num_outputs; i++) {
                NodeOutput *output = this->getOutputSocket(i);
-               NodeImageLayer *storage = (NodeImageLayer*) output->getbNodeSocket()->storage;
-               RenderPass *rpass = (RenderPass*) BLI_findstring(
+               NodeImageLayer *storage = (NodeImageLayer *)output->getbNodeSocket()->storage;
+               RenderPass *rpass = (RenderPass *)BLI_findstring(
                        &rl->passes,
                        storage->pass_name,
                        offsetof(RenderPass, name));