diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-27 13:49:39 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-28 09:59:46 +0100 |
commit | 093cdd2188cfc21c7837214099c35fb054a76a9f (patch) | |
tree | 9e096bf88954316b871f44c6ee0e724a09acdef3 /modules/etcpak | |
parent | df78c0636d79c9545a283e0e2a926d623998cc27 (diff) | |
download | redot-engine-093cdd2188cfc21c7837214099c35fb054a76a9f.tar.gz |
EditorFileSystem: Add verbose print for file being (re)imported
Also print the time it took for each file.
Diffstat (limited to 'modules/etcpak')
-rw-r--r-- | modules/etcpak/image_compress_etcpak.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/etcpak/image_compress_etcpak.cpp b/modules/etcpak/image_compress_etcpak.cpp index 087d3a9314..dcd73101c2 100644 --- a/modules/etcpak/image_compress_etcpak.cpp +++ b/modules/etcpak/image_compress_etcpak.cpp @@ -278,5 +278,5 @@ void _compress_etcpak(EtcpakType p_compresstype, Image *r_img) { // Replace original image with compressed one. r_img->set_data(width, height, mipmaps, target_format, dest_data); - print_verbose(vformat("etcpak: Encoding took %s ms.", rtos(OS::get_singleton()->get_ticks_msec() - start_time))); + print_verbose(vformat("etcpak: Encoding took %d ms.", OS::get_singleton()->get_ticks_msec() - start_time)); } |