mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-26 23:29:38 -05:00
FIX: add configured bed leveling option
jira: [STUDIO-11412] Change-Id: I999d5f4df34c7b1979a340735abaf275f2574674 (cherry picked from commit 63e6890cc742a861c53a109ba848b69292a1a858)
This commit is contained in:
1 parent
b1b82927b2
commit
f4a3ceba2b
12 files changed
+19
-16
No files matched your search
@@ -3517,9 +3517,9 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
||||
}
|
||||
}
|
||||
|
||||
if (jj.contains("support_auto_leveling")) {
|
||||
if (jj["support_auto_leveling"].is_boolean()) {
|
||||
is_support_auto_leveling = jj["support_auto_leveling"].get<bool>();
|
||||
if (jj.contains("support_bed_leveling")) {
|
||||
if (jj["support_bed_leveling"].is_number_integer()) {
|
||||
is_support_bed_leveling = jj["support_bed_leveling"].get<int>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user