Blender Git Commit Log

Git Commits -> Revision 9437acb

Revision 9437acb by Thomas Szepe (master)
August 16, 2015, 09:38 (GMT)
BGE: Fix memory leak and crash with certain physic types

Fixing crash if the physic type is set sensor or character. Caused by a790e172d0281e64.
Fixing memory leak, if the constraint is deleted with Python API removeConstraint().
Add RemoveConstraint() method to avoid code duplication.
Rename old RemoveConstraint() to RemoveConstraintById() which is more suitable name for this method.

Commit Details:

Full Hash: 9437acb7f337e00a422c24497e01973b5613aee5
Parent Commit: 19cc75d
Lines Changed: +32, -28

6 Modified Paths:

/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp (+1, -1) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp (+24, -23) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h (+4, -1) (Diff)
/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h (+1, -1) (Diff)
/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.cpp (+1, -1) (Diff)
/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021