diff options
author | groud <gilles.roudiere@gmail.com> | 2018-09-12 13:10:49 +0200 |
---|---|---|
committer | groud <gilles.roudiere@gmail.com> | 2018-09-14 10:14:33 +0200 |
commit | b2633a97b9efa7b926d6682342480c5ccb482369 (patch) | |
tree | 048121a9e25fe54f41b26a5e913e79af2ac059e7 /editor/editor_file_dialog.cpp | |
parent | 5f3bbbdc8152375f1f7f0770d56e1933a559ea20 (diff) | |
download | redot-engine-b2633a97b9efa7b926d6682342480c5ccb482369.tar.gz |
Add thumnails to the tree view
Diffstat (limited to 'editor/editor_file_dialog.cpp')
-rw-r--r-- | editor/editor_file_dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_file_dialog.cpp b/editor/editor_file_dialog.cpp index 3659a06bb7..d0007bd5d1 100644 --- a/editor/editor_file_dialog.cpp +++ b/editor/editor_file_dialog.cpp @@ -269,7 +269,7 @@ void EditorFileDialog::_post_popup() { set_process_unhandled_input(true); } -void EditorFileDialog::_thumbnail_result(const String &p_path, const Ref<Texture> &p_preview, const Variant &p_udata) { +void EditorFileDialog::_thumbnail_result(const String &p_path, const Ref<Texture> &p_preview, const Ref<Texture> &p_small_preview, const Variant &p_udata) { if (display_mode == DISPLAY_LIST || p_preview.is_null()) return; @@ -284,7 +284,7 @@ void EditorFileDialog::_thumbnail_result(const String &p_path, const Ref<Texture } } -void EditorFileDialog::_thumbnail_done(const String &p_path, const Ref<Texture> &p_preview, const Variant &p_udata) { +void EditorFileDialog::_thumbnail_done(const String &p_path, const Ref<Texture> &p_preview, const Ref<Texture> &p_small_preview, const Variant &p_udata) { set_process(false); preview_waiting = false; |