From 98871c3057f288abceef6e5eee7456d973bf51df Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 2 Apr 2024 16:42:11 +0200 Subject: Fix add_root_node() being no-op --- doc/classes/EditorScript.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'doc/classes/EditorScript.xml') 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 @@ - 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. @@ -57,7 +56,7 @@ - Returns the Editor's currently active scene. + Returns the edited (current) scene's root [Node]. Equivalent of [method EditorInterface.get_edited_scene_root]. -- cgit v1.2.3