From 5ab92c00830d6751e0beafe95963762709d611c2 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Mon, 22 Feb 2010 22:47:15 +0000 Subject: [PATCH] fix issue with serialization (only happens when using the BT_INTERNAL_UPDATE_SERIALIZATION_STRUCTURES option) --- Extras/Serialize/BulletFileLoader/btBulletFile.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Extras/Serialize/BulletFileLoader/btBulletFile.cpp b/Extras/Serialize/BulletFileLoader/btBulletFile.cpp index 2ca5bd70a..a9b2fa429 100644 --- a/Extras/Serialize/BulletFileLoader/btBulletFile.cpp +++ b/Extras/Serialize/BulletFileLoader/btBulletFile.cpp @@ -261,7 +261,6 @@ void btBulletFile::parse(bool verboseDumpAllTypes) delete m_DnaCopy; m_DnaCopy = (char*)btAlignedAlloc(sBulletDNAlen64,16); memcpy(m_DnaCopy,sBulletDNAstr64,sBulletDNAlen64); - mMemoryDNA->init(m_DnaCopy,sBulletDNAlen64); parseInternal(verboseDumpAllTypes,(char*)sBulletDNAstr64,sBulletDNAlen64); #else btAssert(0); @@ -275,7 +274,6 @@ void btBulletFile::parse(bool verboseDumpAllTypes) delete m_DnaCopy; m_DnaCopy = (char*)btAlignedAlloc(sBulletDNAlen,16); memcpy(m_DnaCopy,sBulletDNAstr,sBulletDNAlen); - mMemoryDNA->init(m_DnaCopy,sBulletDNAlen); parseInternal(verboseDumpAllTypes,m_DnaCopy,sBulletDNAlen); #else btAssert(0);