Merge pull request #47709 from KoBeWi/node_that_changes_everything
Expose edit_node() for editor plugins
This commit is contained in:
commit
184abce192
4 changed files with 16 additions and 0 deletions
|
|
@ -10,6 +10,15 @@
|
|||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="edit_node">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="node" type="Node">
|
||||
</argument>
|
||||
<description>
|
||||
Edits the given [Node]. The node will be also selected if it's inside the scene tree.
|
||||
</description>
|
||||
</method>
|
||||
<method name="edit_resource">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
</argument>
|
||||
<description>
|
||||
Adds a node to the selection.
|
||||
[b]Note:[/b] The newly selected node will not be automatically edited in the inspector. If you want to edit a node, use [method EditorInterface.edit_node].
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue