Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / object / object_add.c
index 8abef6f6793a8587baf836a6f33a80eaeb9c29aa..09948d719f03ee64996056b64285f37c72229fc8 100644 (file)
@@ -587,7 +587,7 @@ static int effector_add_exec(bContext *C, wmOperator *op)
                        ob->empty_drawtype = OB_SINGLE_ARROW;
        }
 
-       ob->pd = object_add_collision_fields(type);
+       ob->pd = BKE_partdeflect_new(type);
 
        DEG_relations_tag_update(CTX_data_main(C));