Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / cloth.c
index e10cfc381640a72a9b6a3ae01cbeafb21785b678..cf5b3d3a51b77d4cf843ff74339a6ec4a9adaf8c 100644 (file)
@@ -146,7 +146,7 @@ void cloth_init(ClothModifierData *clmd )
        clmd->sim_parms->bending_model = CLOTH_BENDING_ANGULAR;
 
        if (!clmd->sim_parms->effector_weights)
-               clmd->sim_parms->effector_weights = BKE_add_effector_weights(NULL);
+               clmd->sim_parms->effector_weights = BKE_effector_add_weights(NULL);
 
        if (clmd->point_cache)
                clmd->point_cache->step = 1;