FIX:read "bed_custom_texture" for non-system printer
jira: none Change-Id: Ibc5e3ee88ca1b8e46e2f110d16629045f37d722f
This commit is contained in:
parent
fb4301191d
commit
2a7ee65e8b
|
@ -12522,10 +12522,8 @@ void Plater::set_bed_shape() const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
auto *printer_model = curr->config.opt<ConfigOptionString>("printer_model");
|
auto *bed_custom_texture = curr->config.opt<ConfigOptionString>("bed_custom_texture");
|
||||||
if (printer_model != nullptr && ! printer_model->value.empty()) {
|
texture_filename = bed_custom_texture->value;
|
||||||
texture_filename = bundle->get_texture_for_printer_model(printer_model->value);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
set_bed_shape(p->config->option<ConfigOptionPoints>("printable_area")->values,
|
set_bed_shape(p->config->option<ConfigOptionPoints>("printable_area")->values,
|
||||||
|
|
Loading…
Reference in New Issue