From 14534ed5611f07d5e5fa7000c8c0e0fa15d20068 Mon Sep 17 00:00:00 2001 From: HolonProduction Date: Sat, 11 Oct 2025 12:24:00 +0200 Subject: [PATCH] Remove undocumented script only enter world callbacks --- scene/3d/node_3d.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scene/3d/node_3d.cpp b/scene/3d/node_3d.cpp index cd4d2532f3..63642a6ac7 100644 --- a/scene/3d/node_3d.cpp +++ b/scene/3d/node_3d.cpp @@ -245,10 +245,6 @@ void Node3D::_notification(int p_what) { ERR_FAIL_NULL(data.viewport); - if (get_script_instance()) { - get_script_instance()->call(SNAME("_enter_world")); - } - #ifdef TOOLS_ENABLED if (is_part_of_edited_scene() && !data.gizmos_requested) { data.gizmos_requested = true; @@ -264,10 +260,6 @@ void Node3D::_notification(int p_what) { clear_gizmos(); #endif - if (get_script_instance()) { - get_script_instance()->call(SNAME("_exit_world")); - } - data.viewport = nullptr; data.inside_world = false; } break;