mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-20 05:43:14 +08:00
FIX: fix an ams mapping issue
JIRA: STUDIO-8116 Change-Id: I1e4d80cfb07c56fb8eb6b8dbd632d2edfb1100b0 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
b18b50bd64
commit
0d434f4ae1
@ -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++) {
|
||||
int tray_id = -1;
|
||||
/* JIRA: 8116, fix a ams mapping issue, modify -1 to -2 */
|
||||
int tray_id = -2;
|
||||
json mapping_item;
|
||||
mapping_item["ams"] = tray_id;
|
||||
mapping_item["targetColor"] = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user