diff options
author | nemerle <96597+nemerle@users.noreply.github.com> | 2021-01-31 13:55:13 +0100 |
---|---|---|
committer | nemerle <96597+nemerle@users.noreply.github.com> | 2021-02-01 16:47:27 +0100 |
commit | 022c2952fcee0027efc4f67230ad9d54bbd05d1b (patch) | |
tree | 60c4ba286659089fa790276db29cd6445c6c9a26 /doc/classes | |
parent | 0f4e2cd40c498b2152576b448576e1ecf0ee8208 (diff) |
Node::replace_by was not copying node properties - removed the dead code.
The code to copy node properties to the new node never worked, so there is no reason to keep the useless bits in there
Diffstat (limited to 'doc/classes')
-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"> |