diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2019-09-13 12:51:59 +0200 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2019-09-13 13:05:13 +0200 |
commit | 7e8dd867da17b45e54c68027f8bfea784c932852 (patch) | |
tree | 5c856cdef6a29b69ecfe942acef54caa8b058d1b /doc/classes | |
parent | 24e1039eb6fe32115e8d1a62a84965e9be19a2ed (diff) |
Mention constructor arguments in duplicate() doc
Diffstat (limited to 'doc/classes')
-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"> |