mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +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:
parent
0bcc0e92b3
commit
97b469c46d
6 changed files with 22 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue