FIX: fix get wrong extruders for printing

Change-Id: Icecdca05c314fe47314ec197c6d651967bd616d2
This commit is contained in:
Stone Li 2022-12-10 18:48:57 +08:00 committed by Lane.Wei
parent a3730b9236
commit ab5f2aa3f7
1 changed files with 1 additions and 1 deletions

View File

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