Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/intern/softbody.c')
-rw-r--r--source/blender/blenkernel/intern/softbody.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c
index d1451353feb..75f2015cdad 100644
--- a/source/blender/blenkernel/intern/softbody.c
+++ b/source/blender/blenkernel/intern/softbody.c
@@ -750,10 +750,10 @@ static void build_bps_springlist(Object *ob)
}
/* scan for attached inner springs */
for (b = sb->totspring, bs = sb->bspring; b > 0; b--, bs++) {
- if (((sb->totpoint - a) == bs->v1)) {
+ if ((sb->totpoint - a) == bs->v1) {
add_bp_springlist(bp, sb->totspring - b);
}
- if (((sb->totpoint - a) == bs->v2)) {
+ if ((sb->totpoint - a) == bs->v2) {
add_bp_springlist(bp, sb->totspring - b);
}
} /* For springs. */