mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
FIX: add configured bed leveling option
jira: [STUDIO-11412] Change-Id: I999d5f4df34c7b1979a340735abaf275f2574674 (cherry picked from commit 63e6890cc742a861c53a109ba848b69292a1a858)
This commit is contained in:
@@ -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