Skip to content

Commit

Permalink
FIX: revert "FIX: fix an ams mapping issue"
Browse files Browse the repository at this point in the history
This reverts commit dc9d79efb2f55a4ed4e49e5c4190aa93bfacd2d5.

Reason for revert: <fixed in cloud >

Change-Id: I70cb2a91f0486bfbc11f610dbfeb8283a18cb630
  • Loading branch information
StoneLiBambulab authored and lanewei120 committed Oct 28, 2024
1 parent ceb98c2 commit 950f1ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slic3r/GUI/SelectMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = "";
Expand Down

0 comments on commit 950f1ee

Please sign in to comment.