Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2008-09-27 03:20:31 +0400
committerErwin Coumans <blender@erwincoumans.com>2008-09-27 03:20:31 +0400
commit1e0cfcfd3af917a12402f955e6c80ea1b4999321 (patch)
treec5886810ea9adc93bf639951e6d1cc55a168972c /extern/bullet2/src/LinearMath/btPoolAllocator.h
parent17d9f2eda9ac03fa54c5a5788643aabfcec34bc7 (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/btPoolAllocator.h')
-rw-r--r--extern/bullet2/src/LinearMath/btPoolAllocator.h5
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;
+ }
+
};