Missed in recent cleanup

This commit is contained in:
Campbell Barton 2015-04-04 18:58:49 +11:00
parent e84b0e4c35
commit f5949efb53

@ -675,7 +675,7 @@ void KX_BlenderSceneConverter::WritePhysicsObjectToAnimationIpo(int frameNumber)
if (blenderObject && blenderObject->parent==NULL && gameObj->IsRecordAnimation()) {
if (blenderObject->adt==NULL)
BKE_id_add_animdata(&blenderObject->id);
BKE_animdata_add_id(&blenderObject->id);
if (blenderObject->adt)
{