Merge pull request #68599 from Rindbee/update-edited_scene_root-in-time

Update the edit scene root in time after it is replaced
This commit is contained in:
Rémi Verschelde 2023-06-12 17:08:50 +02:00
commit c3e5e4ed4b
No known key found for this signature in database
GPG key ID: C3336907360768E1
4 changed files with 17 additions and 8 deletions

View file

@ -918,6 +918,13 @@
Emitted when the node is renamed.
</description>
</signal>
<signal name="replacing_by">
<param index="0" name="node" type="Node" />
<description>
Emitted when this node is being replaced by the [param node], see [method replace_by].
This signal is emitted [i]after[/i] [param node] has been added as a child of the original parent node, but [i]before[/i] all original child nodes have been reparented to [param node].
</description>
</signal>
<signal name="tree_entered">
<description>
Emitted when the node enters the tree.