mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
FIX: P series with old fireware modify the limit k value to 1
jira: 7215 Change-Id: I1b0d1a5931487f0fa2b7d66a4c224e33d3710c73
This commit is contained in:
@@ -510,7 +510,7 @@ bool ExtrusionCalibration::check_k_validation(wxString k_text)
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (k < 0 || k > 0.3)
|
if (k < MIN_PA_K_VALUE || k > MAX_PA_K_VALUE)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -534,7 +534,7 @@ bool ExtrusionCalibration::check_k_n_validation(wxString k_text, wxString n_text
|
|||||||
catch (...) {
|
catch (...) {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
if (k < 0 || k > 0.5)
|
if (k < MIN_PA_K_VALUE || k > MAX_PA_K_VALUE)
|
||||||
return false;
|
return false;
|
||||||
if (n < 0.6 || n > 2.0)
|
if (n < 0.6 || n > 2.0)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user