-ability to change scripts in external editor and still have properties reloaded in godot UI, fixes #3003

This commit is contained in:
Juan Linietsky
2015-12-09 09:08:41 -03:00
parent 708ff381d6
commit 6bc6b8fcf2
7 changed files with 119 additions and 21 deletions

View File

@@ -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++) {