mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-12 22:36:03 -06:00
FIX: fix build error
jira: none Change-Id: I97df69b728fc3871b7c33e1fd3ba068e741d51c7 (cherry picked from commit 326d7d28b47017bdbd98873a6437ef84116291ba)
This commit is contained in:
parent
48f1d74127
commit
2ff3b46a7e
13 changed files with 22 additions and 21 deletions
|
|
@ -611,6 +611,7 @@ SelectMachineDialog::SelectMachineDialog(Plater *plater)
|
|||
sizer_print_failed_info->Add(0, 0, 0, wxTOP, FromDIP(3));
|
||||
sizer_print_failed_info->Add(sizer_extra_info, 0, wxLEFT, 5);
|
||||
|
||||
|
||||
|
||||
m_sizer_main->Add(m_line_top, 0, wxEXPAND, 0);
|
||||
m_sizer_main->Add(0, 0, 0, wxTOP, FromDIP(12));
|
||||
|
|
@ -1208,7 +1209,7 @@ bool SelectMachineDialog::get_ams_mapping_result(std::string &mapping_array_str,
|
|||
mapping_item["filamentId"] = "";
|
||||
mapping_item["filamentType"] = "";
|
||||
|
||||
|
||||
|
||||
|
||||
for (int k = 0; k < m_ams_mapping_result.size(); k++) {
|
||||
if (m_ams_mapping_result[k].id == i) {
|
||||
|
|
@ -3406,7 +3407,7 @@ void SelectMachineDialog::reset_and_sync_ams_list()
|
|||
MaterialItem* item = nullptr;
|
||||
if (use_double_extruder)
|
||||
{
|
||||
|
||||
|
||||
if (m_filaments_map[extruder] == 1)
|
||||
{
|
||||
item = new MaterialItem(m_filament_left_panel, colour_rgb, _L(display_materials[extruder]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue