diff options
| author | Max Hilbrunner | 2018-05-07 15:07:32 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-07 15:07:32 +0200 |
| commit | d4cdee5f9e4d39493e3f28ab229935a143a52015 (patch) | |
| tree | 41302b02f1e3ebc9b5862cee9a797068076c1957 /editor/editor_data.cpp | |
| parent | 801657f64e4566d8c9bd86f2f2e70f31637b327f (diff) | |
| parent | 80595ba92b089de6c22ef0ca17b11054a252587c (diff) | |
| download | godot-d4cdee5f9e4d39493e3f28ab229935a143a52015.tar.gz godot-d4cdee5f9e4d39493e3f28ab229935a143a52015.tar.zst godot-d4cdee5f9e4d39493e3f28ab229935a143a52015.zip | |
Diffstat (limited to 'editor/editor_data.cpp')
| -rw-r--r-- | editor/editor_data.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp index 37a35b6eb..b584107bc 100644 --- a/editor/editor_data.cpp +++ b/editor/editor_data.cpp @@ -364,6 +364,14 @@ void EditorData::notify_edited_scene_changed() { } } +void EditorData::notify_resource_saved(const Ref<Resource> &p_resource) { + + for (int i = 0; i < editor_plugins.size(); i++) { + + editor_plugins[i]->notify_resource_saved(p_resource); + } +} + void EditorData::clear_editor_states() { for (int i = 0; i < editor_plugins.size(); i++) { |
