Blender Git Commit Log

Git Commits -> Revision d7dc751

September 11, 2021, 06:27 (GMT)
Fix memory leak in non primitive collision shape

- The previous commit didn't fix the leak as the mesh data was not being freed every draw call
- Now the mesh is generated during evaluation along with the physics shape.
- The collisions shape draw data mesh is stored in the shared struct, along with the physics references

Commit Details:

Full Hash: d7dc751a9426a5bce0c4f50b62bed47bd1da85c5
Parent Commit: 12e5b94
Lines Changed: +32, -54

4 Modified Paths:

/source/blender/blenkernel/intern/rigidbody.c (+18, -13) (Diff)
/source/blender/draw/engines/overlay/overlay_extra.c (+7, -13) (Diff)
/source/blender/draw/intern/draw_cache.c (+5, -26) (Diff)
/source/blender/makesdna/DNA_rigidbody_types.h (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021