[Bf-blender-cvs] [a7b91fc8bcd] master: Cleanup: clang-format

Sergey Sharybin noreply at git.blender.org
Wed Jun 22 10:55:22 CEST 2022


Commit: a7b91fc8bcd208456df00498607b3c2e066b8fd6
Author: Sergey Sharybin
Date:   Wed Jun 22 10:54:13 2022 +0200
Branches: master
https://developer.blender.org/rBa7b91fc8bcd208456df00498607b3c2e066b8fd6

Cleanup: clang-format

===================================================================

M	source/blender/blenkernel/intern/rigidbody.c

===================================================================

diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c
index 2f20b1e661b..ea2f3c2186e 100644
--- a/source/blender/blenkernel/intern/rigidbody.c
+++ b/source/blender/blenkernel/intern/rigidbody.c
@@ -1964,24 +1964,24 @@ static void rigidbody_update_external_forces(Depsgraph *depsgraph,
         float eff_loc[3], eff_vel[3];
 
         /* create dummy 'point' which represents last known position of object as result of sim
-          */
+         */
         /* XXX: this can create some inaccuracies with sim position,
-          * but is probably better than using un-simulated values? */
+         * but is probably better than using un-simulated values? */
         RB_body_get_position(rbo->shared->physics_object, eff_loc);
         RB_body_get_linear_velocity(rbo->shared->physics_object, eff_vel);
 
         pd_point_from_loc(scene, eff_loc, eff_vel, 0, &epoint);
 
         /* Calculate net force of effectors, and apply to sim object:
-          * - we use 'central force' since apply force requires a "relative position"
-          *   which we don't have... */
+         * - we use 'central force' since apply force requires a "relative position"
+         *   which we don't have... */
         BKE_effectors_apply(effectors, NULL, effector_weights, &epoint, eff_force, NULL, NULL);
         if (G.f & G_DEBUG) {
           printf("\tapplying force (%f,%f,%f) to '%s'\n",
-                  eff_force[0],
-                  eff_force[1],
-                  eff_force[2],
-                  ob->id.name + 2);
+                 eff_force[0],
+                 eff_force[1],
+                 eff_force[2],
+                 ob->id.name + 2);
         }
         /* activate object in case it is deactivated */
         if (!is_zero_v3(eff_force)) {



More information about the Bf-blender-cvs mailing list