Merge pull request #32116 from KoBeWi/dupinit

Mention constructor arguments in duplicate() doc
This commit is contained in:
Rémi Verschelde 2019-09-20 17:48:21 +02:00 committed by GitHub
commit 8fea4053b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,6 +171,7 @@
<description>
Duplicates the node, returning a new node.
You can fine-tune the behavior using the [code]flags[/code] (see [enum DuplicateFlags]).
[b]Note:[/b] It will not work properly if the node contains a script with constructor arguments (i.e. needs to supply arguments to [method Object._init] method). In that case, the node will be duplicated without a script.
</description>
</method>
<method name="find_node" qualifiers="const">