diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-01 20:24:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 20:24:19 +0100 |
commit | c4a801cdbf2f16d18d1c1255f2e17e1a5c8a8475 (patch) | |
tree | 41afef27e4980b620ec81eccc77d58c2eb96dba5 /doc | |
parent | 1db16f08d3447428d627e8cc1a77b5b5825f12d3 (diff) | |
parent | 022c2952fcee0027efc4f67230ad9d54bbd05d1b (diff) |
Merge pull request #45604 from nemerle/node_replace_by_dead_code_removal
Node::replace_by is not copying node properties, removed the dead code
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Node.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index e8913f2623..5f0d6462e2 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -623,10 +623,11 @@ </return> <argument index="0" name="node" type="Node"> </argument> - <argument index="1" name="keep_data" type="bool" default="false"> + <argument index="1" name="keep_groups" type="bool" default="false"> </argument> <description> Replaces a node in a scene by the given one. Subscriptions that pass through this node will be lost. + If [code]keep_groups[/code] is [code]true[/code], the [code]node[/code] is added to the same groups that the replaced node is in. </description> </method> <method name="request_ready"> |