mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-02 22:30:53 -07:00
Fix compile error
This commit is contained in:
parent
92972879f5
commit
ca68aa6d2b
3 changed files with 7 additions and 1 deletions
|
|
@ -1175,6 +1175,12 @@ void MachineObject::reset_mapping_result(std::vector<FilamentInfo>& result)
|
|||
}
|
||||
}
|
||||
|
||||
bool MachineObject::is_main_extruder_on_left() const
|
||||
{
|
||||
// only means the extruder is on the left hand when extruder id is 0
|
||||
return false;
|
||||
}
|
||||
|
||||
bool MachineObject::is_multi_extruders() const
|
||||
{
|
||||
return m_extder_data.total_extder_count > 1;
|
||||
|
|
|
|||
|
|
@ -569,6 +569,7 @@ public:
|
|||
// exceed index start with 0
|
||||
bool is_mapping_exceed_filament(std::vector<FilamentInfo>& result, int &exceed_index);
|
||||
void reset_mapping_result(std::vector<FilamentInfo>& result);
|
||||
bool is_main_extruder_on_left() const;
|
||||
bool is_multi_extruders() const;
|
||||
|
||||
/*online*/
|
||||
|
|
|
|||
|
|
@ -3759,7 +3759,6 @@ void StatusPanel::on_ext_spool_edit(wxCommandEvent &event)
|
|||
|
||||
m_filament_setting_dlg->ams_id = ams_id;
|
||||
m_filament_setting_dlg->slot_id = slot_id;
|
||||
m_filament_setting_dlg->tray_id = VIRTUAL_TRAY_ID;
|
||||
|
||||
try {
|
||||
std::string sn_number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue