Rework EditorPlugin editing logic

This commit is contained in:
kobewi 2023-01-21 22:49:06 +01:00
parent a6ddee9c00
commit 4ae168eb04
10 changed files with 111 additions and 100 deletions

View file

@ -41,6 +41,7 @@
<param index="0" name="object" type="Variant" />
<description>
This function is used for plugins that edit specific object types (nodes or resources). It requests the editor to edit the given object.
[param object] can be [code]null[/code] if the plugin was editing an object, but there is no longer any selected object handled by this plugin. It can be used to cleanup editing state.
</description>
</method>
<method name="_enable_plugin" qualifiers="virtual">