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:
commit
710fb11913
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue