mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: pva filament should use normal support type
1.Always pop up to switch support type for PVA filaments 2.Rename the old "on_filament_change" to "on_filament_count_change", add a new function as "on_filament_change" jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Ib5a96f2334bbe016db6661864d44e66c1fc5660f (cherry picked from commit a17aa8c701d05cee57fb9d422a5bcde9f434fd7b)
This commit is contained in:
@@ -1138,7 +1138,7 @@ void MainFrame::init_tabpanel() {
|
||||
// nozzle_diameter is undefined when SLA printer is selected
|
||||
// BBS
|
||||
if (full_config.has("filament_colour")) {
|
||||
m_plater->on_filaments_change(full_config.option<ConfigOptionStrings>("filament_colour")->values.size());
|
||||
m_plater->on_filament_count_change(full_config.option<ConfigOptionStrings>("filament_colour")->values.size());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3659,7 +3659,7 @@ void MainFrame::on_value_changed(wxCommandEvent& event)
|
||||
m_plater->on_config_change(*tab->get_config()); // propagate config change events to the plater
|
||||
if (opt_key == "extruders_count") {
|
||||
auto value = event.GetInt();
|
||||
m_plater->on_filaments_change(value);
|
||||
m_plater->on_filament_count_change(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user