You've already forked godot
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user