mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 11:32:51 -05:00
fix error when open scene or switch to another scene
## Error message on console ## ``` no access to ID:18723 ERROR: FileAccessWindows::_get_modified_time: Method/Function Failed, returning: 0 At: drivers\windows\file_access_windows.cpp:251 ```
This commit is contained in:
parent
4f596e1924
commit
e4f68d08eb
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,6 @@ void EditorResourcePreview::_thread() {
|
|||
|
||||
//print_line("pop from queue "+item.path);
|
||||
|
||||
uint64_t modtime = FileAccess::get_modified_time(item.path);
|
||||
int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size");
|
||||
thumbnail_size*=EDSCALE;
|
||||
|
||||
|
@ -168,6 +167,7 @@ void EditorResourcePreview::_thread() {
|
|||
texture=_generate_preview(item,cache_base);
|
||||
} else {
|
||||
|
||||
uint64_t modtime = FileAccess::get_modified_time(item.path);
|
||||
int tsize = f->get_line().to_int64();
|
||||
uint64_t last_modtime = f->get_line().to_int64();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue