Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / softbody.c
index 4c1555e9451cd27630fa3c6fdf8a64dab8088cf0..2707e4eebd7d0079d1803318f2a0c8d71a2d55f2 100644 (file)
@@ -3280,7 +3280,7 @@ SoftBody *sbNew(Scene *scene)
        sb->shared->pointcache = BKE_ptcache_add(&sb->shared->ptcaches);
 
        if (!sb->effector_weights)
-               sb->effector_weights = BKE_add_effector_weights(NULL);
+               sb->effector_weights = BKE_effector_add_weights(NULL);
 
        sb->last_frame= MINFRAME-1;