mirror of
https://github.com/godotengine/godot.git
synced 2024-11-14 16:13:08 +00:00
Merge pull request #31957 from nekomatata/fix-editor-preview-cache
Fixed order of parameters when updating resource cache file
This commit is contained in:
commit
604dc426d5
@ -295,8 +295,9 @@ void EditorResourcePreview::_thread() {
|
||||
//update modified time
|
||||
|
||||
f = FileAccess::open(file, FileAccess::WRITE);
|
||||
f->store_line(itos(modtime));
|
||||
f->store_line(itos(thumbnail_size));
|
||||
f->store_line(itos(has_small_texture));
|
||||
f->store_line(itos(modtime));
|
||||
f->store_line(md5);
|
||||
memdelete(f);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user