reverted 'getActiveObjects', island management will be improved for Bullet 2.74 release.
The implementation was error-prone and could lead to crashes. See http://code.google.com/p/bullet/issues/detail?id=128
This commit is contained in:
@@ -84,10 +84,6 @@ protected:
|
||||
|
||||
btAlignedObjectArray<btCollisionObject*> m_collisionObjects;
|
||||
|
||||
///temporarily solution to keep track of active objects. This work-in-progress will improve when we refactor island management.
|
||||
btAlignedObjectArray<btCollisionObject*> m_activeObjects;
|
||||
|
||||
|
||||
btDispatcher* m_dispatcher1;
|
||||
|
||||
btDispatcherInfo m_dispatchInfo;
|
||||
@@ -98,9 +94,6 @@ protected:
|
||||
|
||||
btIDebugDraw* m_debugDrawer;
|
||||
|
||||
protected:
|
||||
|
||||
void findActiveObjects();
|
||||
|
||||
public:
|
||||
|
||||
@@ -142,15 +135,6 @@ public:
|
||||
|
||||
virtual void updateAabbs();
|
||||
|
||||
btCollisionObjectArray& getActiveObjects()
|
||||
{
|
||||
return m_activeObjects;
|
||||
}
|
||||
|
||||
const btCollisionObjectArray& getActiveObjects() const
|
||||
{
|
||||
return m_activeObjects;
|
||||
}
|
||||
|
||||
virtual void setDebugDrawer(btIDebugDraw* debugDrawer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user