mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 03:13:39 +00:00
Fix compile error
This commit is contained in:
@@ -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
|
bool MachineObject::is_multi_extruders() const
|
||||||
{
|
{
|
||||||
return m_extder_data.total_extder_count > 1;
|
return m_extder_data.total_extder_count > 1;
|
||||||
|
|||||||
@@ -569,6 +569,7 @@ public:
|
|||||||
// exceed index start with 0
|
// exceed index start with 0
|
||||||
bool is_mapping_exceed_filament(std::vector<FilamentInfo>& result, int &exceed_index);
|
bool is_mapping_exceed_filament(std::vector<FilamentInfo>& result, int &exceed_index);
|
||||||
void reset_mapping_result(std::vector<FilamentInfo>& result);
|
void reset_mapping_result(std::vector<FilamentInfo>& result);
|
||||||
|
bool is_main_extruder_on_left() const;
|
||||||
bool is_multi_extruders() const;
|
bool is_multi_extruders() const;
|
||||||
|
|
||||||
/*online*/
|
/*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->ams_id = ams_id;
|
||||||
m_filament_setting_dlg->slot_id = slot_id;
|
m_filament_setting_dlg->slot_id = slot_id;
|
||||||
m_filament_setting_dlg->tray_id = VIRTUAL_TRAY_ID;
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
std::string sn_number;
|
std::string sn_number;
|
||||||
|
|||||||
Reference in New Issue
Block a user