Remove files_dropped signal from SceneTree

This commit is contained in:
Igor Kordiukiewicz 2022-02-27 17:24:50 +01:00
parent 234eb83dfe
commit b870b40d79
3 changed files with 1 additions and 9 deletions

View File

@ -232,13 +232,6 @@
</member> </member>
</members> </members>
<signals> <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"> <signal name="node_added">
<argument index="0" name="node" type="Node" /> <argument index="0" name="node" type="Node" />
<description> <description>

View File

@ -348,6 +348,7 @@
<signal name="files_dropped"> <signal name="files_dropped">
<argument index="0" name="files" type="PackedStringArray" /> <argument index="0" name="files" type="PackedStringArray" />
<description> <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> </description>
</signal> </signal>
<signal name="focus_entered"> <signal name="focus_entered">

View File

@ -1256,8 +1256,6 @@ void SceneTree::_bind_methods() {
ADD_SIGNAL(MethodInfo("process_frame")); ADD_SIGNAL(MethodInfo("process_frame"));
ADD_SIGNAL(MethodInfo("physics_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_DEFAULT);
BIND_ENUM_CONSTANT(GROUP_CALL_REVERSE); BIND_ENUM_CONSTANT(GROUP_CALL_REVERSE);
BIND_ENUM_CONSTANT(GROUP_CALL_REALTIME); BIND_ENUM_CONSTANT(GROUP_CALL_REALTIME);