ENH: supporting encoded filament color

jira: [STUDIO-12346]
Change-Id: I7f5ce7806acb6fdeb3e3d9db52a0b96e5fadd759
(cherry picked from commit a7bdc2707d3825327258965c90c33836a7da628b)
This commit is contained in:
xin.zhang
2025-06-25 16:38:43 +08:00
committed by Noisyfox
parent 98a32f57aa
commit 88eae5d217
8 changed files with 8138 additions and 0 deletions

View File

@@ -70,6 +70,7 @@
#include "MainFrame.hpp"
#include "Plater.hpp"
#include "GLCanvas3D.hpp"
#include "EncodedFilament.hpp"
#include "../Utils/PresetUpdater.hpp"
#include "../Utils/PrintHost.hpp"
@@ -6719,6 +6720,17 @@ void GUI_App::check_updates(const bool verbose)
}
}
FilamentColorCodeQuery* GUI_App::get_filament_color_code_query()
{
if (!m_filament_color_code_query)
{
m_filament_color_code_query = new FilamentColorCodeQuery();
}
return m_filament_color_code_query;
}
bool GUI_App::open_browser_with_warning_dialog(const wxString& url, int flags/* = 0*/)
{
return wxLaunchDefaultBrowser(url, flags);