mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +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:
@@ -8,6 +8,7 @@
|
||||
#include "libslic3r/PresetBundle.hpp"
|
||||
#include "MsgDialog.hpp"
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
#include "Plater.hpp"
|
||||
|
||||
#include <wx/msgdlg.h>
|
||||
|
||||
@@ -979,7 +980,7 @@ int ConfigManipulation::show_spiral_mode_settings_dialog(bool is_object_config)
|
||||
"Yes - Change these settings and enable spiral mode automatically\n"
|
||||
"No - Give up using spiral mode this time"));
|
||||
|
||||
MessageDialog dialog(m_msg_dlg_parent, msg_text, "",
|
||||
MessageDialog dialog(wxGetApp().plater(), msg_text, "",
|
||||
wxICON_WARNING | (!is_object_config ? wxYES | wxNO : wxOK));
|
||||
is_msg_dlg_already_exist = true;
|
||||
auto answer = dialog.ShowModal();
|
||||
|
||||
Reference in New Issue
Block a user