mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH: supporting encoded filament color
jira: [STUDIO-12346] Change-Id: I7f5ce7806acb6fdeb3e3d9db52a0b96e5fadd759 (cherry picked from commit a7bdc2707d3825327258965c90c33836a7da628b)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user