mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Execution abstraction and build fix for linux and mac
This commit is contained in:
parent
d337b69407
commit
8497289650
4 changed files with 26 additions and 2 deletions
|
@ -318,7 +318,9 @@ void PrintController::slice_to_png()
|
|||
report_issue(IssueType::WARN, ss.str(), "Warning");
|
||||
}
|
||||
|
||||
std::async(std::launch::async, [this, exd]() {
|
||||
std::async(supports_asynch()? std::launch::async : std::launch::deferred,
|
||||
[this, exd]()
|
||||
{
|
||||
progress_indicator(100, "Slicing to zipped png files...");
|
||||
progress_indicator()->procedure_count(3);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue