diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-02 15:17:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-02 15:17:22 +0300 |
commit | 163996b68129f3a34db73c6a6a1e81ec8f4a81e4 (patch) | |
tree | a78662ee2ff3ce658f5a29ff241944ac7bd2953f /source/blender/blenkernel/intern/cloth.c | |
parent | b708917d94afa3a77be5e571b1c36a364d2ec6b5 (diff) |
Cleanup: move comments onto own lines to avoid breaking lines
Diffstat (limited to 'source/blender/blenkernel/intern/cloth.c')
-rw-r--r-- | source/blender/blenkernel/intern/cloth.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/cloth.c b/source/blender/blenkernel/intern/cloth.c index dc238641a86..63d58f7e32e 100644 --- a/source/blender/blenkernel/intern/cloth.c +++ b/source/blender/blenkernel/intern/cloth.c @@ -105,8 +105,10 @@ void cloth_init(ClothModifierData *clmd) clmd->sim_parms->maxspringlen = 10; clmd->sim_parms->vgroup_mass = 0; clmd->sim_parms->vgroup_shrink = 0; - clmd->sim_parms->shrink_min = - 0.0f; /* min amount the fabric will shrink by 0.0 = no shrinking, 1.0 = shrink to nothing*/ + + /* Min amount the fabric will shrink by 0.0 = no shrinking, 1.0 = shrink to nothing. */ + clmd->sim_parms->shrink_min = 0.0f; + clmd->sim_parms->avg_spring_len = 0.0; clmd->sim_parms->presets = 2; /* cotton as start setting */ clmd->sim_parms->timescale = 1.0f; /* speed factor, describes how fast cloth moves */ |