diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2020-12-31 17:48:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 17:48:19 +0100 |
commit | 36c943260ed40c6e31a6ecff7f6e1674714b4fcb (patch) | |
tree | 80a7ba40a5a7d4128f935aa9519aec2aa5c9bc30 /scene/3d/physics_joint_3d.h | |
parent | 41e9028868e49669de83c82ba20fd9dcef0d1b8b (diff) | |
parent | 026aa4381d39318f66cfccaa0345403bc80ddeb8 (diff) |
Merge pull request #44703 from madmiraal/fix-44510
Add signal to inform joint that body has exited tree
Diffstat (limited to 'scene/3d/physics_joint_3d.h')
-rw-r--r-- | scene/3d/physics_joint_3d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/physics_joint_3d.h b/scene/3d/physics_joint_3d.h index 250ae8bf52..89db5bf7d2 100644 --- a/scene/3d/physics_joint_3d.h +++ b/scene/3d/physics_joint_3d.h @@ -49,6 +49,8 @@ class Joint3D : public Node3D { String warning; protected: + void _disconnect_signals(); + void _body_exit_tree(const ObjectID &p_body_id); void _update_joint(bool p_only_free = false); void _notification(int p_what); |