svn merge ^/trunk/blender -r40644:40720
[blender-staging.git] / source / blender / blenkernel / intern / cloth.c
index 190276475376356afee2b078744f0ef870dcb737..622ea38a80c5d3bd17db34acca95ad4de1a59ff7 100644 (file)
@@ -742,7 +742,7 @@ static void cloth_apply_vgroup ( ClothModifierData *clmd, DerivedMesh *dm )
        MDeformVert *dvert = NULL;
        Cloth *clothObj = NULL;
        int numverts;
-       float goalfac = 0;
+       /* float goalfac = 0; */ /* UNUSED */
        ClothVertex *verts = NULL;
 
        if (!clmd || !dm) return;
@@ -765,7 +765,7 @@ static void cloth_apply_vgroup ( ClothModifierData *clmd, DerivedMesh *dm )
                                        if (( dvert->dw[j].def_nr == (clmd->sim_parms->vgroup_mass-1)) && (clmd->sim_parms->flags & CLOTH_SIMSETTINGS_FLAG_GOAL ))
                                        {
                                                verts->goal = dvert->dw [j].weight;
-                                               goalfac= 1.0f;
+                                               /* goalfac= 1.0f; */ /* UNUSED */
                                                
                                                /*
                                                // Kicking goal factor to simplify things...who uses that anyway?