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:
authorCampbell Barton <ideasman42@gmail.com>2019-07-02 15:17:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-07-02 15:17:22 +0300
commit163996b68129f3a34db73c6a6a1e81ec8f4a81e4 (patch)
treea78662ee2ff3ce658f5a29ff241944ac7bd2953f /source/blender/blenkernel/intern/cloth.c
parentb708917d94afa3a77be5e571b1c36a364d2ec6b5 (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.c6
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 */