diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-22 16:22:21 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-22 16:22:21 +0200 |
commit | 710fb1191375d4b5803ba4fe33218901a152fe30 (patch) | |
tree | d519603026e5edff9f60f5147298b375f9b2442a /modules/basis_universal/image_compress_basisu.cpp | |
parent | 1e0c741fe53a5c5609dc6947d805462fd1b50810 (diff) | |
parent | ec97372f04fe984583b325da43ff5757138a16f8 (diff) | |
download | redot-engine-710fb1191375d4b5803ba4fe33218901a152fe30.tar.gz |
Merge pull request #93442 from Calinou/basis-universal-import-quiet
Make Basis Universal import quiet unless engine is in verbose mode
Diffstat (limited to 'modules/basis_universal/image_compress_basisu.cpp')
-rw-r--r-- | modules/basis_universal/image_compress_basisu.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/basis_universal/image_compress_basisu.cpp b/modules/basis_universal/image_compress_basisu.cpp index d8ef1c0414..216fa6c9a2 100644 --- a/modules/basis_universal/image_compress_basisu.cpp +++ b/modules/basis_universal/image_compress_basisu.cpp @@ -65,6 +65,12 @@ Vector<uint8_t> basis_universal_packer(const Ref<Image> &p_image, Image::UsedCha params.m_multithreading = true; params.m_check_for_alpha = false; + if (!OS::get_singleton()->is_stdout_verbose()) { + params.m_print_stats = false; + params.m_compute_stats = false; + params.m_status_output = false; + } + basisu::job_pool job_pool(OS::get_singleton()->get_processor_count()); params.m_pJob_pool = &job_pool; |