remove print_flow_ratio from profiles and hide it from process setting. It should be only displayed for parts
This commit is contained in:
parent
e8ac1575e7
commit
565732a027
6 changed files with 9 additions and 5 deletions
|
@ -106,7 +106,6 @@
|
|||
"gcode_label_objects": "0",
|
||||
"exclude_object": "0",
|
||||
"wall_generator": "classic",
|
||||
"print_flow_ratio": "0.98",
|
||||
"only_one_wall_top": "1",
|
||||
"slow_down_layers": "1",
|
||||
"small_perimeter_speed": "50%",
|
||||
|
|
|
@ -106,7 +106,6 @@
|
|||
"gcode_label_objects": "0",
|
||||
"exclude_object": "0",
|
||||
"wall_generator": "classic",
|
||||
"print_flow_ratio": "0.98",
|
||||
"only_one_wall_top": "1",
|
||||
"slow_down_layers": "1",
|
||||
"small_perimeter_speed": "50%",
|
||||
|
|
|
@ -113,7 +113,6 @@
|
|||
"prime_tower_brim_width": "3",
|
||||
"prime_tower_width": "35",
|
||||
"prime_volume": "45",
|
||||
"print_flow_ratio": "1",
|
||||
"print_sequence": "by layer",
|
||||
"print_settings_id": "0.30mm Standard @Flashforge AD5M Pro 0.6 Nozzle",
|
||||
"raft_contact_distance": "0.1",
|
||||
|
|
|
@ -104,7 +104,6 @@
|
|||
"prime_tower_brim_width": "3",
|
||||
"prime_tower_width": "35",
|
||||
"prime_volume": "45",
|
||||
"print_flow_ratio": "0.95",
|
||||
"print_sequence": "by layer",
|
||||
|
||||
"raft_contact_distance": "0.1",
|
||||
|
|
|
@ -96,7 +96,6 @@
|
|||
"prime_tower_brim_width": "3",
|
||||
"prime_tower_width": "60",
|
||||
"prime_volume": "45",
|
||||
"print_flow_ratio": "1",
|
||||
"print_sequence": "by layer",
|
||||
"print_settings_id": "",
|
||||
"raft_contact_distance": "0.1",
|
||||
|
|
|
@ -591,6 +591,15 @@ void ParamsPanel::set_active_tab(wxPanel* tab)
|
|||
wxString title = cur_tab->type() == Preset::TYPE_FILAMENT ? _L("Filament settings") : _L("Printer settings");
|
||||
dialog->SetTitle(title);
|
||||
}
|
||||
|
||||
auto tab_print = dynamic_cast<Tab *>(m_tab_print);
|
||||
if (cur_tab == m_tab_print) {
|
||||
if (tab_print)
|
||||
tab_print->toggle_line("print_flow_ratio", false);
|
||||
} else {
|
||||
if (tab_print)
|
||||
tab_print->toggle_line("print_flow_ratio", false);
|
||||
}
|
||||
}
|
||||
|
||||
bool ParamsPanel::is_active_and_shown_tab(wxPanel* tab)
|
||||
|
|
Loading…
Reference in a new issue