Cleanup: code-style, duplicate header
[blender.git] / source / blender / blenkernel / intern / tracking_stabilize.c
index 36b24fbb2dc3819586ade8bd7c1e27251b581f4c..722fc89a75fc45b1097d2d6707b7574d99410cf8 100644 (file)
@@ -1167,7 +1167,8 @@ static void stabilization_calculate_data(StabContext *ctx,
 
        if (ctx->stab->flag & TRACKING_STABILIZE_SCALE) {
                *r_scale = expf(scale_step * scaleinf);  /* Averaged in log scale */
-       } else {
+       }
+       else {
                *r_scale = 1.0f;
        }
 
@@ -1180,8 +1181,8 @@ static void stabilization_calculate_data(StabContext *ctx,
         */
        get_animated_target_pos(ctx, framenr, target_pos);
        sub_v2_v2(r_translation, target_pos);
-       *r_angle -= get_animated_target_rot(ctx,framenr);
-       target_scale = get_animated_target_scale(ctx,framenr);
+       *r_angle -= get_animated_target_rot(ctx, framenr);
+       target_scale = get_animated_target_scale(ctx, framenr);
        if (target_scale != 0.0f) {
                *r_scale /= target_scale;
                /* target_scale is an expected/intended reference zoom value */