summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2019-09-04 13:35:06 +0200
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2019-09-04 13:35:06 +0200
commitc6ddaacf59d5296c42cf090ac31479ea879aab8b (patch)
tree2123e221da7e27b278a3c3b536545dca1e62c274 /editor
parent750f8d4926edb14269d9f6a117c5a9fd4765373a (diff)
Fixed order of parameters when updating resource cache file (fixes #31930)
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_resource_preview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_resource_preview.cpp b/editor/editor_resource_preview.cpp
index 4a7a9fb863..5c15ebb1eb 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);
}