[Editor] Add EditorPlugin::scene_saved signal

Matches the `EditorNode` one for parity with the exposed
`resource_saved` signal
This commit is contained in:
A Thousand Ships
2024-01-18 13:06:48 +01:00
parent 0bcc0e92b3
commit 97b469c46d
6 changed files with 22 additions and 2 deletions

View File

@@ -759,7 +759,7 @@
<signal name="resource_saved">
<param index="0" name="resource" type="Resource" />
<description>
Emitted when the given [param resource] was saved on disc.
Emitted when the given [param resource] was saved on disc. See also [signal scene_saved].
</description>
</signal>
<signal name="scene_changed">
@@ -771,7 +771,13 @@
<signal name="scene_closed">
<param index="0" name="filepath" type="String" />
<description>
Emitted when user closes a scene. The argument is file path to a closed scene.
Emitted when user closes a scene. The argument is a file path to the closed scene.
</description>
</signal>
<signal name="scene_saved">
<param index="0" name="filepath" type="String" />
<description>
Emitted when a scene was saved on disc. The argument is a file path to the saved scene. See also [signal resource_saved].
</description>
</signal>
</signals>