Fix add_root_node() being no-op
This commit is contained in:
parent
29b3d9e9e5
commit
98871c3057
2 changed files with 20 additions and 5 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue