1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

[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

@@ -361,6 +361,12 @@ void EditorData::notify_resource_saved(const Ref<Resource> &p_resource) {
}
}
void EditorData::notify_scene_saved(const String &p_path) {
for (int i = 0; i < editor_plugins.size(); i++) {
editor_plugins[i]->notify_scene_saved(p_path);
}
}
void EditorData::clear_editor_states() {
for (int i = 0; i < editor_plugins.size(); i++) {
editor_plugins[i]->clear();