mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
NEW: render cali lines for X1 series printer
Change-Id: I0edbe9cac3be837702e0b03d66766291b012b4b8 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
f84d38bea1
commit
2910014887
8 changed files with 125 additions and 17 deletions
|
@ -1643,10 +1643,17 @@ void Tab::on_presets_changed()
|
|||
wxGetApp().plater()->sidebar().update_presets(m_type);
|
||||
|
||||
bool is_bbl_vendor_preset = wxGetApp().preset_bundle->printers.get_edited_preset().is_bbl_vendor_preset(wxGetApp().preset_bundle);
|
||||
if (is_bbl_vendor_preset)
|
||||
if (is_bbl_vendor_preset) {
|
||||
wxGetApp().plater()->get_partplate_list().set_render_option(true, true);
|
||||
else
|
||||
if (wxGetApp().preset_bundle->printers.get_edited_preset().has_cali_lines(wxGetApp().preset_bundle)) {
|
||||
wxGetApp().plater()->get_partplate_list().set_render_cali(true);
|
||||
} else {
|
||||
wxGetApp().plater()->get_partplate_list().set_render_cali(false);
|
||||
}
|
||||
} else {
|
||||
wxGetApp().plater()->get_partplate_list().set_render_option(false, false);
|
||||
wxGetApp().plater()->get_partplate_list().set_render_cali(false);
|
||||
}
|
||||
|
||||
// Printer selected at the Printer tab, update "compatible" marks at the print and filament selectors.
|
||||
for (auto t: m_dependent_tabs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue