summaryrefslogtreecommitdiff
path: root/scene/3d/visual_instance_3d.h
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-04-12 20:08:30 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-04-12 20:08:30 -0700
commitd7353c5d413ea9f0c2bfac93c8eca247e43a8d9b (patch)
tree6b439438e1ec1ce3cd161d5f2dc2a44caa66b4b3 /scene/3d/visual_instance_3d.h
parent075f358fcddbb3df8417ef85baabdf3684a4efd2 (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 'scene/3d/visual_instance_3d.h')
0 files changed, 0 insertions, 0 deletions