mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 04:37:52 -06:00
FIX: fix check k / n logic
Change-Id: I0f9fe5c95523d79b4c6435555d10f2d641639b13 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
21485dec6a
commit
f701b4efd5
7 changed files with 91 additions and 30 deletions
|
@ -56,12 +56,14 @@ public:
|
|||
// input is 1 or 2
|
||||
void set_step(int step_index);
|
||||
|
||||
static bool check_k_n_validation(wxString k, wxString n);
|
||||
static bool check_k_n_validation(wxString k_text, wxString n_text);
|
||||
static bool check_k_validation(wxString k_text);
|
||||
|
||||
MachineObject *obj { nullptr };
|
||||
int ams_id { 0 }; /* 0 ~ 3 */
|
||||
int tray_id { 0 }; /* 0 ~ 3 | 254 for virtual tray id*/
|
||||
|
||||
std::string ams_filament_id;
|
||||
std::string m_filament_type;
|
||||
|
||||
std::vector<Preset*> user_filaments;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue