Enabled logging of failed image download.

(cherry picked from commit 37c0ac1d6d)
This commit is contained in:
Fabio Alessandrelli 2019-03-16 10:57:29 +01:00 committed by Rémi Verschelde
parent 9bd25ce7d2
commit b2d13ba7b7
1 changed files with 1 additions and 1 deletions

View File

@ -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"));