FIX:only show the material used in the actual printing

Change-Id: I44edd5ffb54376da91077e2e3d990851af050949
This commit is contained in:
tao wang authored and Lane.Wei committed 2022-09-29 11:16:43 +08:00
1 parent 07d234825e
commit b9b3f7b4c1
3 files changed
+18 -1

No files matched your search

+3 -1
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();