diff options
author | Александр Растриженков <a.rastrizhenkov@gmail.com> | 2019-12-14 18:47:26 +0300 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-02 15:09:26 +0100 |
commit | d8dbcbe066b581a4368297e69fafc890a1608937 (patch) | |
tree | 2af0b41e1a6fb69b8cd668fb65e932bf122825ab /scene/3d | |
parent | c0ece451e39b440b758cc8621fccff0a4f898f22 (diff) |
Fix wrong disconnect in callback in VisibilityNotifier 3D
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/visibility_notifier.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/3d/visibility_notifier.cpp b/scene/3d/visibility_notifier.cpp index 14c4d306d1..510442dc1c 100644 --- a/scene/3d/visibility_notifier.cpp +++ b/scene/3d/visibility_notifier.cpp @@ -240,7 +240,6 @@ void VisibilityEnabler::_node_removed(Node *p_node) { if (!visible) _change_node_state(p_node, true); - p_node->disconnect(SceneStringNames::get_singleton()->tree_exiting, this, "_node_removed"); nodes.erase(p_node); } |