Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / rigidbody.c
index 919a0c5fa02117bfd885b35b0b93e5c6eb163e37..9ca8c834bb98a4b3a23a314aead805478ac8bc9c 100644 (file)
@@ -955,7 +955,7 @@ RigidBodyWorld *BKE_rigidbody_create_world(Scene *scene)
        rbw->shared = MEM_callocN(sizeof(*rbw->shared), "RigidBodyWorld_Shared");
 
        /* set default settings */
-       rbw->effector_weights = BKE_add_effector_weights(NULL);
+       rbw->effector_weights = BKE_effector_add_weights(NULL);
 
        rbw->ltime = PSFRA;