mirror of
https://github.com/Dark98/SliceBeam.git
synced 2026-07-02 16:49:02 +00:00
Fix bed_shape convertion
This commit is contained in:
@@ -112,7 +112,9 @@ public class IOUtils {
|
||||
ConfigObject _obj = downloadProfilesRecursively(vendor, type, inherit, supportedKeys);
|
||||
for (Map.Entry<String, String> en : _obj.values.entrySet()) {
|
||||
if (supportedKeys.contains(en.getKey())) {
|
||||
if (en.getKey().equals("ironing_type") && en.getValue().equals("no ironing")) {
|
||||
if (en.getKey().equals("printable_area")) {
|
||||
cfg.values.put("bed_shape", en.getValue());
|
||||
} else if (en.getKey().equals("ironing_type") && en.getValue().equals("no ironing")) {
|
||||
cfg.values.put("ironing", "0");
|
||||
cfg.values.put("ironing_type", "top");
|
||||
} if (en.getKey().equals("start_filament_gcode") || en.getKey().equals("end_filament_gcode") ||
|
||||
|
||||
Reference in New Issue
Block a user