Merge pull request #31957 from nekomatata/fix-editor-preview-cache

Fixed order of parameters when updating resource cache file
This commit is contained in:
Rémi Verschelde 2019-09-04 14:55:40 +02:00 committed by GitHub
commit 604dc426d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}