mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH: bootup: add slow bootup mode to avoid some possible crash on seldom computers
Change-Id: Ia7a05082eee32dcc8a2ed9ca47cf13287ee2aed9
This commit is contained in:
parent
2aedc84586
commit
d40f9b24ed
3 changed files with 19 additions and 12 deletions
|
@ -5036,7 +5036,7 @@ void Plater::priv::set_current_panel(wxPanel* panel, bool no_slice)
|
|||
}
|
||||
|
||||
wxPanel* old_panel = current_panel;
|
||||
#if BBL_HAS_FIRST_PAGE
|
||||
//#if BBL_HAS_FIRST_PAGE
|
||||
if (!old_panel) {
|
||||
//BBS: only switch to the first panel when visible
|
||||
panel->Show();
|
||||
|
@ -5044,7 +5044,7 @@ void Plater::priv::set_current_panel(wxPanel* panel, bool no_slice)
|
|||
if (!panel->IsShownOnScreen())
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
//#endif
|
||||
current_panel = panel;
|
||||
//BBS: add the collapse logic
|
||||
if (current_panel == preview && q->only_gcode_mode()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue