You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #71628 from reduz/fixup-editor-file-system-script-parsing
Clean up EditorFileSystem script parsing
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user