diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2008-09-27 03:20:31 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2008-09-27 03:20:31 +0400 |
commit | 1e0cfcfd3af917a12402f955e6c80ea1b4999321 (patch) | |
tree | c5886810ea9adc93bf639951e6d1cc55a168972c /extern/bullet2/src/BulletSoftBody/btSoftBody.h | |
parent | 17d9f2eda9ac03fa54c5a5788643aabfcec34bc7 (diff) |
fixed some outstanding issues with Bullet soft bodies:
1) re-allocate a pool allocator, if one of the soft body collision algorithms is larger than max pool element size
2) manage child shapes properly, and call RemoveReferences on the m_sparsesdf
Diffstat (limited to 'extern/bullet2/src/BulletSoftBody/btSoftBody.h')
-rw-r--r-- | extern/bullet2/src/BulletSoftBody/btSoftBody.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extern/bullet2/src/BulletSoftBody/btSoftBody.h b/extern/bullet2/src/BulletSoftBody/btSoftBody.h index 7a6bfd53205..b6d7c17b754 100644 --- a/extern/bullet2/src/BulletSoftBody/btSoftBody.h +++ b/extern/bullet2/src/BulletSoftBody/btSoftBody.h @@ -609,6 +609,11 @@ public: btAlignedObjectArray<int> m_userIndexMapping; + btSoftBodyWorldInfo* getWorldInfo() + { + return m_worldInfo; + } + virtual void setCollisionShape(btCollisionShape* collisionShape) { //don't do anything, due to the internal shape hack: todo: fix this |