summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-03-27 19:30:49 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-03-31 18:33:02 +0200
commita29f2bfe540791b96cb4ce43bb0dee6bd2019ce2 (patch)
tree3f2a899ba8c692c4bb25013ec5b5d7e7d1e3fac8 /doc/classes
parenta5eed70fa2edcf755d6abea2077232e38381449b (diff)
Rename `Node.print_stray_nodes()` to `Node.print_orphan_nodes()`
The "orphan" terminology is already used elsewhere.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Node.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index 28b104e276..48ecd2ec7b 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -483,10 +483,11 @@
[b]Note:[/b] Internal children can only be moved within their expected "internal range" (see [code]internal[/code] parameter in [method add_child]).
</description>
</method>
- <method name="print_stray_nodes">
+ <method name="print_orphan_nodes">
<return type="void" />
<description>
- Prints all stray nodes (nodes outside the [SceneTree]). Used for debugging. Works only in debug builds.
+ Prints all orphan nodes (nodes outside the [SceneTree]). Used for debugging.
+ [b]Note:[/b] [method print_orphan_nodes] only works in debug builds. When called in a project exported in release mode, [method print_orphan_nodes] will not print anything.
</description>
</method>
<method name="print_tree">