mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-20 20:49:08 +08:00
FIX: the tray id of virtual slot is not correct
jira: none Change-Id: Idb15d31b866b33346d7b7ae26dd4e78ef3b3137b
This commit is contained in:
parent
9afe123026
commit
5a632cd2dd
@ -519,7 +519,14 @@ void AMSMaterialsSetting::on_select_reset(wxCommandEvent& event) {
|
||||
}
|
||||
else {
|
||||
PACalibIndexInfo select_index_info;
|
||||
select_index_info.tray_id = ams_id * 4 + slot_id;
|
||||
int tray_id = ams_id * 4 + slot_id;
|
||||
if (is_virtual_tray()) {
|
||||
tray_id = ams_id;
|
||||
if (!obj->is_enable_np) {
|
||||
tray_id = VIRTUAL_TRAY_DEPUTY_ID;
|
||||
}
|
||||
}
|
||||
select_index_info.tray_id = tray_id;
|
||||
select_index_info.ams_id = ams_id;
|
||||
select_index_info.slot_id = slot_id;
|
||||
select_index_info.nozzle_diameter = obj->m_extder_data.extders[0].current_nozzle_diameter;
|
||||
|
Loading…
x
Reference in New Issue
Block a user