mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-14 12:39:30 -07:00
FIX:fix bug of dual_extruder
jira:STUDIO-9622 (cherry picked from commit 9514b6225f2170dc3baa34f27e6a435de1fc8439)
This commit is contained in:
parent
1b1ccc398f
commit
3392d3136d
1 changed files with 1 additions and 1 deletions
|
|
@ -473,7 +473,7 @@ void PresetComboBox::add_ams_filaments(std::string selected, bool alias_name)
|
|||
{
|
||||
bool is_bbl_vendor_preset = m_preset_bundle->is_bbl_vendor();
|
||||
if (is_bbl_vendor_preset && !m_preset_bundle->filament_ams_list.empty()) {
|
||||
bool dual_extruder = (--m_preset_bundle->filament_ams_list.end())->first & 0x10000;
|
||||
bool dual_extruder = (m_preset_bundle->filament_ams_list.begin()->first & 0x10000) == 0;
|
||||
set_label_marker(Append(separator(dual_extruder ? L("Left filaments") : L("AMS filaments")), wxNullBitmap));
|
||||
m_first_ams_filament = GetCount();
|
||||
auto &filaments = m_collection->get_presets();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue