~exarkun/pybullet/trunk

Viewing all changes in revision 54.

  • Committer: Jean-Paul Calderone
  • Date: 2012-11-14 22:32:48 UTC
  • mfrom: (53.1.8 user-pointers-refcounting)
  • Revision ID: exarkun@twistedmatrix.com-20121114223248-z9gvwof16lhkpp7e
Manage the lifetime of CollisionObject instances by manually reference counting them and keeping them in the user data pointer supported by btCollisionObject.  Also manage action objects in a similar way, but using a global dictionary since action objects have no user data pointer support.  This fixes a number of crashes caused by deallocation of worlds and objects in a particular order.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: