diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-05-01 18:41:41 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-05-16 18:13:25 +0200 |
commit | 3ad694018fe02447d9ad3051b9d2f6616bc52e74 (patch) | |
tree | 9547f3d3ae650d60a201501b6981c11640865bf7 /scene/2d/physics_body_2d.h | |
parent | d999071edf137fa8b125c9aa057e3936fe54aed0 (diff) |
Fix Container sorting not working when overriding _sort_children in gdscript
Remove _sort_children from script bindings:
_sort_children is an internal method which shouldn't be exposed to scripts.
Added support for non-bound methods in MessageQueue:
So we can use deferred calls without exposing internal methods to scripts.
Added debug checks in CallableCustomMethodPointer:
Adding method pointer callables to the message queue was causing crashes
in case an object was destroyed and the same memory was allocated for
another one. The new object had a valid object id but the call was erroneous.
Release will be fixed later, along with Variant which has the same problem and
is also fixed for debug only.
Diffstat (limited to 'scene/2d/physics_body_2d.h')
0 files changed, 0 insertions, 0 deletions