From a4eaf65b776aba25294bd0b7a9178697c1d8f55d Mon Sep 17 00:00:00 2001 From: Arthur Date: Sat, 27 May 2023 11:47:13 +0800 Subject: [PATCH] ENH: remove popup dialog of tree slim This popup dialog was introduced to promote tree slim style. Now it's time to remove it. Change-Id: I34c0be56b4dc613e6e991dd87ab22eb4eaa1feb3 (cherry picked from commit 827c692a1877bfec914ef8f5a55c7357ed6e94d2) --- src/slic3r/GUI/Tab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 9d87885bd..2aeb6ac6f 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -1422,7 +1422,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value) new_conf.set_key_value("support_style", new ConfigOptionEnum(smsDefault)); m_config_manipulation.apply(m_config, &new_conf); } - +#if 0 // BBS popup a message to ask the user to set optimum parameters for tree support if (opt_key == "support_type" || opt_key == "support_style") { if (is_tree_slim(m_config->opt_enum("support_type"), m_config->opt_enum("support_style")) && @@ -1459,7 +1459,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value) wxGetApp().plater()->update(); } } - +#endif // BBS popup a message to ask the user to set optimum parameters for support interface if support materials are used if (opt_key == "support_interface_filament") { int interface_filament_id = m_config->opt_int("support_interface_filament") - 1; // the displayed id is based from 1, while internal id is based from 0