mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 22:35:58 +08:00
common filaments for custom printer WIP
This commit is contained in:
parent
25526aa9e1
commit
e566e948a3
@ -1985,8 +1985,13 @@ void ConfigWizard::priv::load_pages()
|
|||||||
index->add_page(page_temps);
|
index->add_page(page_temps);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Filaments & Materials
|
// Filaments & Materials
|
||||||
if (any_fff_selected) { index->add_page(page_filaments); }
|
if (any_fff_selected) { index->add_page(page_filaments); }
|
||||||
|
// Filaments page if only custom printer is selected
|
||||||
|
const AppConfig* app_config = wxGetApp().app_config;
|
||||||
|
if (!any_fff_selected && custom_printer_selected && (app_config->get("no_common") == "0")) {
|
||||||
|
index->add_page(page_filaments);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (any_sla_selected) { index->add_page(page_sla_materials); }
|
if (any_sla_selected) { index->add_page(page_sla_materials); }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user