diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-01 11:03:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-01 11:03:03 +0200 |
commit | 9bef886fa3b48ff66b38c82e46bf37a02feb09d6 (patch) | |
tree | c4e84f32eca94f8a30b299abefa1997f27209840 /editor/plugins | |
parent | ab76c649c510c2f090bd94773eb1f7dc85feaba3 (diff) | |
parent | 37c0ac1d6d8ab687fb4b2fcac78f780c3bc2aa66 (diff) |
Merge pull request #27117 from Faless/editor/asset_lib_image_error
Enabled logging of failed image download.
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/asset_library_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp index a9e9607bc5..6d2cdfc583 100644 --- a/editor/plugins/asset_library_editor_plugin.cpp +++ b/editor/plugins/asset_library_editor_plugin.cpp @@ -818,7 +818,7 @@ void EditorAssetLibrary::_image_request_completed(int p_status, int p_code, cons _image_update(p_code == HTTPClient::RESPONSE_NOT_MODIFIED, true, p_data, p_queue_id); } else { - // WARN_PRINTS("Error getting image file from URL: " + image_queue[p_queue_id].image_url); + WARN_PRINTS("Error getting image file from URL: " + image_queue[p_queue_id].image_url); Object *obj = ObjectDB::get_instance(image_queue[p_queue_id].target); if (obj) { obj->call("set_image", image_queue[p_queue_id].image_type, image_queue[p_queue_id].image_index, get_icon("DefaultProjectIcon", "EditorIcons")); |