diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-04-12 20:08:30 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-04-12 20:08:30 -0700 |
commit | d7353c5d413ea9f0c2bfac93c8eca247e43a8d9b (patch) | |
tree | 6b439438e1ec1ce3cd161d5f2dc2a44caa66b4b3 /doc/classes/KinematicCollision2D.xml | |
parent | 075f358fcddbb3df8417ef85baabdf3684a4efd2 (diff) |
Fix crashes with CollisionObject debug shapes
MeshInstance added as child nodes for CollisionObject debug shapes can
be invalidated while deleting the collision object (child nodes are
deleted first), which caused accesses to invalid memory in
shape_owner_remove_shape that lead to random crashes.
Also optimized accesses to shapes to avoid copy-on-write on each
iteration.
Diffstat (limited to 'doc/classes/KinematicCollision2D.xml')
0 files changed, 0 insertions, 0 deletions