1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

[Editor] Add EditorPlugin::scene_saved signal (3.x backport)

Matches the `EditorNode` one for parity with the exposed
`resource_saved` signal

3.x backport: Adjusted documentation slightly, backported to 3.x branch

Co-authored-by: t20kdc <asdd2808@gmail.com>
This commit is contained in:
A Thousand Ships
2024-01-18 13:06:48 +01:00
committed by t20kdc
parent 36a01852a7
commit 45d1948b64
6 changed files with 22 additions and 1 deletions

View File

@@ -1577,6 +1577,7 @@ void EditorNode::_save_scene(String p_file, int idx) {
// This needs to be emitted before saving external resources.
emit_signal("scene_saved", p_file);
editor_data.notify_scene_saved(p_file);
_save_external_resources();
editor_data.save_editor_external_data();