Merge pull request #58597 from IgorKordiukiewicz/remove-files-dropped-signal-from-scene-tree

Remove files_dropped signal from SceneTree
This commit is contained in:
Rémi Verschelde 2022-02-28 10:17:54 +01:00 committed by GitHub
commit 6716af9f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 9 deletions

View File

@ -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>

View File

@ -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">

View File

@ -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);