diff options
| author | Juan Linietsky | 2015-12-09 09:08:41 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-12-09 09:08:41 -0300 |
| commit | 6bc6b8fcf24bdfcae4a990054c9077e1bc5a87e5 (patch) | |
| tree | bcdfcca0dc3c5c10a52570a3fce58cd0c48a94d5 /tools/editor/editor_data.cpp | |
| parent | 708ff381d6c7bc189cad35c7e144fcec7b8936c3 (diff) | |
| download | godot-6bc6b8fcf24bdfcae4a990054c9077e1bc5a87e5.tar.gz godot-6bc6b8fcf24bdfcae4a990054c9077e1bc5a87e5.tar.zst godot-6bc6b8fcf24bdfcae4a990054c9077e1bc5a87e5.zip | |
-ability to change scripts in external editor and still have properties reloaded in godot UI, fixes #3003
Diffstat (limited to 'tools/editor/editor_data.cpp')
| -rw-r--r-- | tools/editor/editor_data.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/editor/editor_data.cpp b/tools/editor/editor_data.cpp index 673ee30ad..a6aedf270 100644 --- a/tools/editor/editor_data.cpp +++ b/tools/editor/editor_data.cpp @@ -338,6 +338,14 @@ void EditorData::set_editor_states(const Dictionary& p_states) { } +void EditorData::notify_edited_scene_changed() { + + for(int i=0;i<editor_plugins.size();i++) { + + editor_plugins[i]->edited_scene_changed(); + } +} + void EditorData::clear_editor_states() { for(int i=0;i<editor_plugins.size();i++) { |
