mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #71628 from reduz/fixup-editor-file-system-script-parsing
Clean up EditorFileSystem script parsing
This commit is contained in:
commit
4679f8724a
6 changed files with 82 additions and 65 deletions
|
@ -2174,6 +2174,8 @@ Error ScriptEditor::_save_text_file(Ref<TextFile> p_text_file, const String &p_p
|
|||
p_text_file->set_last_modified_time(FileAccess::get_modified_time(p_path));
|
||||
}
|
||||
|
||||
EditorFileSystem::get_singleton()->update_file(p_path);
|
||||
|
||||
_res_saved_callback(sqscr);
|
||||
return OK;
|
||||
}
|
||||
|
@ -2492,7 +2494,6 @@ void ScriptEditor::save_all_scripts() {
|
|||
}
|
||||
|
||||
_update_script_names();
|
||||
EditorFileSystem::get_singleton()->update_script_classes();
|
||||
}
|
||||
|
||||
void ScriptEditor::apply_scripts() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue