diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-20 17:48:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-20 17:48:21 +0200 |
commit | 8fea4053b33aff4fa08962c990e13fb5084a5383 (patch) | |
tree | 6a0857ba3258ed6c5ddb3f4a8e47c2b57abc201f /doc | |
parent | 55efada13aeb3f6626e5a6784d9d1d5aa70e19cf (diff) | |
parent | 7e8dd867da17b45e54c68027f8bfea784c932852 (diff) |
Merge pull request #32116 from KoBeWi/dupinit
Mention constructor arguments in duplicate() doc
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Node.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 097fa1f6e5..78fa69731d 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -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"> |