mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Defer clearing of ResourceUID cache and silence warnings
This commit is contained in:
parent
104af08e9d
commit
14b82c36a2
3 changed files with 15 additions and 1 deletions
|
@ -2422,7 +2422,7 @@ EditorFileSystem::EditorFileSystem() {
|
|||
|
||||
scan_total = 0;
|
||||
update_script_classes_queued.clear();
|
||||
ResourceUID::get_singleton()->clear(); //will be updated on scan
|
||||
MessageQueue::get_singleton()->push_callable(callable_mp(ResourceUID::get_singleton(), &ResourceUID::clear)); // Will be updated on scan.
|
||||
ResourceSaver::set_get_resource_id_for_path(_resource_saver_get_resource_id_for_path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue