Make sure script cache is created after reimport

This commit is contained in:
kobewi 2023-04-07 23:34:52 +02:00
parent c151d3231f
commit 680ed7f612

View file

@ -2318,6 +2318,7 @@ void EditorFileSystem::reimport_files(const Vector<String> &p_files) {
ResourceUID::get_singleton()->update_cache(); // After reimporting, update the cache.
_save_filesystem_cache();
_update_pending_script_classes();
importing = false;
if (!is_scanning()) {
emit_signal(SNAME("filesystem_changed"));