From 35b78d9807c49ba37e038eda85c672c72dee0247 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 15 Mar 2019 08:53:22 +1100 Subject: Cleanup: indentation, wrapping Mostly functions wrapping args, not confirming to our style guide. --- source/blender/blenkernel/intern/softbody.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'source/blender/blenkernel/intern/softbody.c') diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c index 481eb617cc0..d4a0ad71e1e 100644 --- a/source/blender/blenkernel/intern/softbody.c +++ b/source/blender/blenkernel/intern/softbody.c @@ -1443,13 +1443,14 @@ static void _scan_for_ext_spring_forces(Scene *scene, Object *ob, float timenow, if (bs->springtype == SB_EDGE) { /* +++ springs colliding */ if (ob->softflag & OB_SB_EDGECOLL) { - if ( sb_detect_edge_collisionCached (sb->bpoint[bs->v1].pos, sb->bpoint[bs->v2].pos, - &damp, feedback, ob, timenow)) { - add_v3_v3(bs->ext_force, feedback); - bs->flag |= BSF_INTERSECT; - //bs->cf=damp; - bs->cf=sb->choke*0.01f; - + if (sb_detect_edge_collisionCached( + sb->bpoint[bs->v1].pos, sb->bpoint[bs->v2].pos, + &damp, feedback, ob, timenow)) + { + add_v3_v3(bs->ext_force, feedback); + bs->flag |= BSF_INTERSECT; + //bs->cf=damp; + bs->cf=sb->choke*0.01f; } } /* ---- springs colliding */ -- cgit v1.2.3