FIX:only show the material used in the actual printing

Change-Id: I44edd5ffb54376da91077e2e3d990851af050949
This commit is contained in:
tao wang 2022-09-13 14:41:09 +08:00 committed by Lane.Wei
parent 07d234825e
commit b9b3f7b4c1
3 changed files with 18 additions and 1 deletions

View file

@ -2214,7 +2214,9 @@ void SelectMachineDialog::set_default()
}
// material info
auto extruders = m_plater->get_partplate_list().get_curr_plate()->get_extruders();
//auto extruders1 = m_plater->get_partplate_list().get_curr_plate()->get_extruders();
auto extruders = wxGetApp().plater()->get_current_canvas3D()->get_gcode_viewer().get_plater_extruder();
BitmapCache bmcache;
MaterialHash::iterator iter = m_materialList.begin();