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/LinearMath | |
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/LinearMath')
-rw-r--r-- | extern/bullet2/src/LinearMath/btPoolAllocator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extern/bullet2/src/LinearMath/btPoolAllocator.h b/extern/bullet2/src/LinearMath/btPoolAllocator.h index e9620ac5faa..39d2559c747 100644 --- a/extern/bullet2/src/LinearMath/btPoolAllocator.h +++ b/extern/bullet2/src/LinearMath/btPoolAllocator.h @@ -91,6 +91,11 @@ public: } } + int getElementSize() const + { + return m_elemSize; + } + }; |