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:
parent
ceb98c2076
commit
950f1eee15
|
@ -1879,9 +1879,9 @@ bool SelectMachineDialog::get_ams_mapping_result(std::string &mapping_array_str,
|
||||||
} else {
|
} else {
|
||||||
json j = json::array();
|
json j = json::array();
|
||||||
json mapping_info_json = json::array();
|
json mapping_info_json = json::array();
|
||||||
|
|
||||||
for (int i = 0; i < wxGetApp().preset_bundle->filament_presets.size(); i++) {
|
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 = -1;
|
||||||
int tray_id = -2;
|
|
||||||
json mapping_item;
|
json mapping_item;
|
||||||
mapping_item["ams"] = tray_id;
|
mapping_item["ams"] = tray_id;
|
||||||
mapping_item["targetColor"] = "";
|
mapping_item["targetColor"] = "";
|
||||||
|
|
Loading…
Reference in New Issue