diff options
author | twobit <tdetoy@twobitadder.net> | 2023-09-10 00:09:24 -0400 |
---|---|---|
committer | twobit <tdetoy@twobitadder.net> | 2023-10-26 13:08:05 -0400 |
commit | b4aa6ad36eb1d523eb5eef41f8572ea654ac0745 (patch) | |
tree | b3250d88786d41b86cc6e49073a36ab6c6aaa753 /doc/classes/Node.xml | |
parent | fc99492d3066098e938449b10e02f8e01d07e2d1 (diff) | |
download | redot-engine-b4aa6ad36eb1d523eb5eef41f8572ea654ac0745.tar.gz |
Fix `reparent` losing owner if relationship to original owner is not broken
Diffstat (limited to 'doc/classes/Node.xml')
-rw-r--r-- | doc/classes/Node.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 7510d6bb64..be5931926a 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -679,7 +679,7 @@ <param index="0" name="new_parent" type="Node" /> <param index="1" name="keep_global_transform" type="bool" default="true" /> <description> - Changes the parent of this [Node] to the [param new_parent]. The node needs to already have a parent. + Changes the parent of this [Node] to the [param new_parent]. The node needs to already have a parent. The node's [member owner] is preserved if its owner is still reachable from the new location (i.e., the node is still a descendant of the new parent after the operation). If [param keep_global_transform] is [code]true[/code], the node's global transform will be preserved if supported. [Node2D], [Node3D] and [Control] support this argument (but [Control] keeps only position). </description> </method> |