mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH: compatible with U0 firmware
Change-Id: I30a4702424fd0df2ad118505c62b6843968465da
This commit is contained in:
parent
1555904bef
commit
0b921c44a8
5 changed files with 118 additions and 45 deletions
|
@ -599,8 +599,8 @@ Sidebar::Sidebar(Plater *parent)
|
|||
|
||||
ScalableButton* add_btn = new ScalableButton(p->m_panel_filament_title, wxID_ANY, "add_filament");
|
||||
add_btn->Bind(wxEVT_BUTTON, [this, scrolled_sizer](wxCommandEvent& e){
|
||||
// BBS: limit filament choices to 16
|
||||
if (p->combos_filament.size() >= 16)
|
||||
// BBS: limit filament choices to 4
|
||||
if (p->combos_filament.size() >= 4)
|
||||
return;
|
||||
|
||||
int filament_count = p->combos_filament.size() + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue