2
0
Fork 0

Make sure script cache is created after reimport

(cherry picked from commit 680ed7f612)
4.0
kobewi 2023-04-07 23:34:52 +07:00 committed by Yuri Sizov
parent 31e582b970
commit 5a82eadd2d
1 changed files with 1 additions and 0 deletions

@ -2328,6 +2328,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"));