+ bugfix in btAlignedObjectArray, not calling destructors on resize to smaller array.

Thanks Benoit for pointing this out, and bugfix: http://code.google.com/p/bullet/issues/detail?id=218

+ Added point to point, hinge, slider and generic 6dof constraints to Maya Dynamica plugin
Thanks to Herbert Law for the constribution: http://code.google.com/p/bullet/issues/detail?id=221
This commit is contained in:
erwin.coumans
2009-05-06 19:55:05 +00:00
parent f3c3d2f156
commit d9c4529a26
56 changed files with 5851 additions and 1237 deletions

View File

@@ -171,9 +171,9 @@ class btAlignedObjectArray
{
int curSize = size();
if (newsize < size())
if (newsize < curSize)
{
for(int i = curSize; i < newsize; i++)
for(int i = newsize; i < curSize; i++)
{
m_data[i].~T();
}