Merge pull request #93442 from Calinou/basis-universal-import-quiet

Make Basis Universal import quiet unless engine is in verbose mode
This commit is contained in:
Rémi Verschelde 2024-06-22 16:22:21 +02:00
commit 710fb11913
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,12 @@ Vector<uint8_t> basis_universal_packer(const Ref<Image> &p_image, Image::UsedCha
params.m_multithreading = true; params.m_multithreading = true;
params.m_check_for_alpha = false; 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()); basisu::job_pool job_pool(OS::get_singleton()->get_processor_count());
params.m_pJob_pool = &job_pool; params.m_pJob_pool = &job_pool;