diff options
author | marcelofg55 <marcelofg55@gmail.com> | 2016-06-02 18:56:28 -0300 |
---|---|---|
committer | marcelofg55 <marcelofg55@gmail.com> | 2016-06-02 18:56:28 -0300 |
commit | 4e0f2389c3a79f1e558ee13e6d51e7dbe531368e (patch) | |
tree | a8bd2b831ae005a614d2a5c8a56ea4bccec3d59e /tools/editor/editor_resource_preview.cpp | |
parent | bb223869e0d016d372d8f3d98b3d5680cc069368 (diff) | |
parent | bc25492e636a82a30d77aa1b37edede0a2a9182f (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tools/editor/editor_resource_preview.cpp')
-rw-r--r-- | tools/editor/editor_resource_preview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_resource_preview.cpp b/tools/editor/editor_resource_preview.cpp index 13b424c231..05b935f26c 100644 --- a/tools/editor/editor_resource_preview.cpp +++ b/tools/editor/editor_resource_preview.cpp @@ -131,7 +131,6 @@ void EditorResourcePreview::_thread() { //print_line("pop from queue "+item.path); - uint64_t modtime = FileAccess::get_modified_time(item.path); int thumbnail_size = EditorSettings::get_singleton()->get("file_dialog/thumbnail_size"); thumbnail_size*=EDSCALE; @@ -168,6 +167,7 @@ void EditorResourcePreview::_thread() { texture=_generate_preview(item,cache_base); } else { + uint64_t modtime = FileAccess::get_modified_time(item.path); int tsize = f->get_line().to_int64(); uint64_t last_modtime = f->get_line().to_int64(); |