BGE Cleanup: Removing the empty KX_ClearBulletSharedShapes() function

This commit is contained in:
Mitchell Stokes 2014-04-23 13:59:04 -07:00
parent 3182c54da6
commit 81e28b8802
3 changed files with 1 additions and 10 deletions

View File

@ -190,9 +190,6 @@ KX_BlenderSceneConverter::~KX_BlenderSceneConverter()
}
m_meshobjects.clear();
#ifdef WITH_BULLET
KX_ClearBulletSharedShapes();
#endif
/* free any data that was dynamically loaded */
while (m_DynamicMaggie.size() != 0)

View File

@ -47,8 +47,7 @@ void KX_ConvertBulletObject(class KX_GameObject* gameobj,
int activeLayerBitInfo,
bool isCompoundChild,
bool hasCompoundChildren);
void KX_ClearBulletSharedShapes();
bool KX_ReInstanceBulletShapeFromMesh(KX_GameObject *gameobj, KX_GameObject *from_gameobj, RAS_MeshObject* from_meshobj);
#endif

View File

@ -567,11 +567,6 @@ void KX_ConvertBulletObject( class KX_GameObject* gameobj,
}
void KX_ClearBulletSharedShapes()
{
}
/* Refresh the physics object from either an object or a mesh.
* gameobj must be valid
* from_gameobj and from_meshobj can be NULL