mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-23 21:05:31 -07:00
ENH:O1D hot bed temperature no longer checks voltage
jira:[STUDIO-9088] Change-Id: Ia11154705770919694c58b908b3886fe3feb432a (cherry picked from commit 7e16329d24c9e31ff5fc99eb74ab4b4b9a5e2b13)
This commit is contained in:
parent
d6e86ad7bf
commit
8e78915cd2
3 changed files with 23 additions and 1 deletions
|
|
@ -3256,6 +3256,15 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||
}
|
||||
}
|
||||
|
||||
// bed temp range
|
||||
if (jj.contains("bed_temp_range")) {
|
||||
if (jj["bed_temp_range"].is_array()) {
|
||||
for (auto it = jj["bed_temp_range"].begin(); it != jj["bed_temp_range"].end(); it++) {
|
||||
bed_temp_range.push_back(it.value().get<int>());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//supported function
|
||||
if (jj.contains("support_chamber_temp_edit")) {
|
||||
if (jj["support_chamber_temp_edit"].is_boolean()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue