Blender Git Commit Log

Git Commits -> Revision f20f82c

Revision f20f82c by Sebastian Parborg (master)
September 2, 2020, 16:35 (GMT)
Fix segfaults when deleting objects with upstream bullet lib

Blender tried to free objects twice from the bullet world sometime.

First we would implicity remove all objects when recreating the bullet
world and then explicity try to remove them again from the now empty
world.

This would wouldn't crash older bullet versions, but the recent versions
will as we will try to free objects that no longer exists in the bullet
world.

Also clear the cache on deletion as the object order changes.
Fix T77181: The cache clearing will fix this issue.

Commit Details:

Full Hash: f20f82ce3ee55c12adcec024e0133e71183e07b3
Parent Commit: 9b1f726
Lines Changed: +11, -3

1 Modified Path:

/source/blender/blenkernel/intern/rigidbody.c (+11, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021