You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Defer clearing of ResourceUID cache and silence warnings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user