From b870b40d79ef645bbc7fff565fe6c56bba8d9230 Mon Sep 17 00:00:00 2001 From: Igor Kordiukiewicz Date: Sun, 27 Feb 2022 17:24:50 +0100 Subject: [PATCH] Remove files_dropped signal from SceneTree --- doc/classes/SceneTree.xml | 7 ------- doc/classes/Window.xml | 1 + scene/main/scene_tree.cpp | 2 -- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml index 288c35f159b..f3dfc727b0f 100644 --- a/doc/classes/SceneTree.xml +++ b/doc/classes/SceneTree.xml @@ -232,13 +232,6 @@ - - - - - Emitted when files are dragged from the OS file manager and dropped in the game window. The arguments are a list of file paths and the identifier of the screen where the drag originated. - - diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index aa888a596a5..9853f906bca 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -348,6 +348,7 @@ + Emitted when files are dragged from the OS file manager and dropped in the game window. The argument is a list of file paths. diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 2b4d7d83318..69e7472cf2b 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -1256,8 +1256,6 @@ void SceneTree::_bind_methods() { ADD_SIGNAL(MethodInfo("process_frame")); ADD_SIGNAL(MethodInfo("physics_frame")); - ADD_SIGNAL(MethodInfo("files_dropped", PropertyInfo(Variant::PACKED_STRING_ARRAY, "files"), PropertyInfo(Variant::INT, "screen"))); - BIND_ENUM_CONSTANT(GROUP_CALL_DEFAULT); BIND_ENUM_CONSTANT(GROUP_CALL_REVERSE); BIND_ENUM_CONSTANT(GROUP_CALL_REALTIME);