diff options
author | kobewi <kobewi4e@gmail.com> | 2024-04-02 16:42:11 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-04-03 20:07:56 +0200 |
commit | 98871c3057f288abceef6e5eee7456d973bf51df (patch) | |
tree | 35cc986a0ab4659a1cf066df647d92aaaac92d93 /doc/classes/EditorScript.xml | |
parent | 29b3d9e9e538f0aa8effc8ad8bf19a2915292a89 (diff) | |
download | redot-engine-98871c3057f288abceef6e5eee7456d973bf51df.tar.gz |
Fix add_root_node() being no-op
Diffstat (limited to 'doc/classes/EditorScript.xml')
-rw-r--r-- | doc/classes/EditorScript.xml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/classes/EditorScript.xml b/doc/classes/EditorScript.xml index 24480437fd..bd18852dbc 100644 --- a/doc/classes/EditorScript.xml +++ b/doc/classes/EditorScript.xml @@ -44,8 +44,7 @@ <return type="void" /> <param index="0" name="node" type="Node" /> <description> - Adds [param node] as a child of the root node in the editor context. - [b]Warning:[/b] The implementation of this method is currently disabled. + Makes [param node] root of the currently opened scene. Only works if the scene is empty. If the [param node] is a scene instance, an inheriting scene will be created. </description> </method> <method name="get_editor_interface" qualifiers="const" deprecated="[EditorInterface] is a global singleton and can be accessed directly by its name."> @@ -57,7 +56,7 @@ <method name="get_scene" qualifiers="const"> <return type="Node" /> <description> - Returns the Editor's currently active scene. + Returns the edited (current) scene's root [Node]. Equivalent of [method EditorInterface.get_edited_scene_root]. </description> </method> </methods> |