incorrect type passed to BKE_free_animdata()

This commit is contained in:
Campbell Barton
2011-02-17 06:23:16 +00:00
parent f336b80d7f
commit c6a0df59e1

View File

@@ -973,7 +973,7 @@ static void make_object_duplilist_real(bContext *C, Scene *scene, Base *base)
basen->object= ob;
/* make sure apply works */
BKE_free_animdata(ob->adt);
BKE_free_animdata(&ob->id);
ob->adt = NULL;
ob->parent= NULL;