make exception_ptr static

This commit is contained in:
PavelMikus 2023-01-17 12:04:02 +01:00 committed by Pavel Mikuš
parent 96519bf259
commit 2f0cde9e9e
2 changed files with 3 additions and 2 deletions

View file

@ -841,7 +841,8 @@ void PrintConfigDef::init_fff_params()
def = this->add("extra_perimeters_on_overhangs", coBool);
def->label = L("Extra perimeters on overhangs (Experimental)");
def->category = L("Layers and Perimeters");
def->tooltip = L("Create additional perimeter paths over steep overhangs and areas where bridges cannot be anchored.");
def->tooltip = L("Detect overhang areas where bridges cannot be anchored, and fill them with "
"extra perimeter paths. These paths are anchored to the nearby non-overhang area when possible.");
def->mode = comExpert;
def->set_default_value(new ConfigOptionBool(false));

View file

@ -235,7 +235,7 @@ void BackgroundSlicingProcess::thread_proc()
// Process the background slicing task.
m_state = STATE_RUNNING;
lck.unlock();
std::exception_ptr exception;
static std::exception_ptr exception;
#ifdef _WIN32
this->call_process_seh_throw(exception);
#else