FIX: revert "FIX: fix an ams mapping issue"

This reverts commit dc9d79efb2f55a4ed4e49e5c4190aa93bfacd2d5.

Reason for revert: <fixed in cloud >

Change-Id: I70cb2a91f0486bfbc11f610dbfeb8283a18cb630
This commit is contained in:
旺仔 2024-10-28 19:20:54 +08:00 committed by Lane.Wei
parent ceb98c2076
commit 950f1eee15
1 changed files with 2 additions and 2 deletions

View File

@ -1879,9 +1879,9 @@ bool SelectMachineDialog::get_ams_mapping_result(std::string &mapping_array_str,
} else {
json j = json::array();
json mapping_info_json = json::array();
for (int i = 0; i < wxGetApp().preset_bundle->filament_presets.size(); i++) {
/* JIRA: 8116, fix a ams mapping issue, modify -1 to -2 */
int tray_id = -2;
int tray_id = -1;
json mapping_item;
mapping_item["ams"] = tray_id;
mapping_item["targetColor"] = "";