FIX: default cal_idx is -1

jira: [STUDIO-11448]
Change-Id: I6f37bc7d095a1d25f4f52db9d34954d2dccf1576
(cherry picked from commit b9cb321f733656e91936ced34930b1df10f477b0)
This commit is contained in:
xin.zhang
2025-04-09 15:04:47 +08:00
committed by Noisyfox
parent 838da20835
commit 377df07c67
2 changed files with 2 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ struct PACalibIndexInfo
int tray_id = 0;
int ams_id = 0;
int slot_id = 0;
int cali_idx;
int cali_idx = -1; // -1 means default
float nozzle_diameter;
std::string filament_id;
};

View File

@@ -338,7 +338,7 @@ public:
int ctype = 0;
float k = 0.0f; // k range: 0 ~ 0.5
float n = 0.0f; // k range: 0.6 ~ 2.0
int cali_idx = 0;
int cali_idx = -1; // - 1 means default
wxColour wx_color;
bool is_bbl;