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
1 changed files with 2 additions and 1 deletions
|
@ -295,8 +295,9 @@ void EditorResourcePreview::_thread() {
|
||||||
//update modified time
|
//update modified time
|
||||||
|
|
||||||
f = FileAccess::open(file, FileAccess::WRITE);
|
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(has_small_texture));
|
||||||
|
f->store_line(itos(modtime));
|
||||||
f->store_line(md5);
|
f->store_line(md5);
|
||||||
memdelete(f);
|
memdelete(f);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue