diff --git a/scene/3d/node_3d.cpp b/scene/3d/node_3d.cpp index e055fd99d1..25db43dcce 100644 --- a/scene/3d/node_3d.cpp +++ b/scene/3d/node_3d.cpp @@ -252,10 +252,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; @@ -271,10 +267,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;