mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Some fixes for the last commit
This commit is contained in:
parent
26833ee641
commit
2f71c38221
2 changed files with 4 additions and 0 deletions
|
@ -1941,6 +1941,7 @@ void Plater::priv::split_volume()
|
||||||
|
|
||||||
void Plater::priv::schedule_background_process()
|
void Plater::priv::schedule_background_process()
|
||||||
{
|
{
|
||||||
|
delayed_error_message.clear();
|
||||||
// Trigger the timer event after 0.5s
|
// Trigger the timer event after 0.5s
|
||||||
this->background_process_timer.Start(500, wxTIMER_ONE_SHOT);
|
this->background_process_timer.Start(500, wxTIMER_ONE_SHOT);
|
||||||
// Notify the Canvas3D that something has changed, so it may invalidate some of the layer editing stuff.
|
// Notify the Canvas3D that something has changed, so it may invalidate some of the layer editing stuff.
|
||||||
|
|
|
@ -830,6 +830,9 @@ void Tab::on_presets_changed()
|
||||||
// refresh the print or filament/sla_material tab page.
|
// refresh the print or filament/sla_material tab page.
|
||||||
wxGetApp().get_tab(t)->load_current_preset();
|
wxGetApp().get_tab(t)->load_current_preset();
|
||||||
}
|
}
|
||||||
|
// clear m_dependent_tabs after first update from select_preset()
|
||||||
|
// to avoid needless preset loading from update() function
|
||||||
|
m_dependent_tabs.clear();
|
||||||
|
|
||||||
// #ys_FIXME_to_delete
|
// #ys_FIXME_to_delete
|
||||||
// wxCommandEvent event(EVT_TAB_PRESETS_CHANGED);
|
// wxCommandEvent event(EVT_TAB_PRESETS_CHANGED);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue