Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / object.c
index 67edcff49a68587708997e4de1b9bcfec57cdd5c..3e2e890f54273694ecfa48c13316d4687fa2e0a4 100644 (file)
@@ -582,7 +582,7 @@ void BKE_object_free(Object *ob)
 
        BKE_constraints_free_ex(&ob->constraints, false);
 
-       free_partdeflect(ob->pd);
+       BKE_partdeflect_free(ob->pd);
        BKE_rigidbody_free_object(ob, NULL);
        BKE_rigidbody_free_constraint(ob);