From c6ddaacf59d5296c42cf090ac31479ea879aab8b Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Wed, 4 Sep 2019 13:35:06 +0200 Subject: [PATCH] Fixed order of parameters when updating resource cache file (fixes #31930) --- editor/editor_resource_preview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/editor_resource_preview.cpp b/editor/editor_resource_preview.cpp index 4a7a9fb863d..5c15ebb1eb3 100644 --- a/editor/editor_resource_preview.cpp +++ b/editor/editor_resource_preview.cpp @@ -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); }