summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Kordiukiewicz <igorkordiukiewicz@gmail.com>2022-02-27 17:24:50 +0100
committerIgor Kordiukiewicz <igorkordiukiewicz@gmail.com>2022-02-28 07:51:50 +0100
commitb870b40d79ef645bbc7fff565fe6c56bba8d9230 (patch)
treed7ac124fcd2f8bb3a4c4b819b6f0de7767b96b9a
parent234eb83dfec6daf3795e53236be7b408083f6a2d (diff)
Remove files_dropped signal from SceneTree
-rw-r--r--doc/classes/SceneTree.xml7
-rw-r--r--doc/classes/Window.xml1
-rw-r--r--scene/main/scene_tree.cpp2
3 files changed, 1 insertions, 9 deletions
diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml
index 288c35f159..f3dfc727b0 100644
--- a/doc/classes/SceneTree.xml
+++ b/doc/classes/SceneTree.xml
@@ -232,13 +232,6 @@
</member>
</members>
<signals>
- <signal name="files_dropped">
- <argument index="0" name="files" type="PackedStringArray" />
- <argument index="1" name="screen" type="int" />
- <description>
- 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.
- </description>
- </signal>
<signal name="node_added">
<argument index="0" name="node" type="Node" />
<description>
diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml
index aa888a596a..9853f906bc 100644
--- a/doc/classes/Window.xml
+++ b/doc/classes/Window.xml
@@ -348,6 +348,7 @@
<signal name="files_dropped">
<argument index="0" name="files" type="PackedStringArray" />
<description>
+ Emitted when files are dragged from the OS file manager and dropped in the game window. The argument is a list of file paths.
</description>
</signal>
<signal name="focus_entered">
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index 2b4d7d8331..69e7472cf2 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);