mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-10 01:01:57 +00:00
Merge branch 'main' into claude/inspiring-knuth-7cp6pk-upstream
This commit is contained in:
@@ -1,6 +1,54 @@
|
||||
#include "MainFrame.hpp"
|
||||
|
||||
#include <wx/event.h>
|
||||
#include "slic3r/GUI/Event.hpp"
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/dcclient.h>
|
||||
#include "libslic3r/Utils.hpp"
|
||||
#include "slic3r/GUI/GUI_Utils.hpp"
|
||||
#include <wx/filehistory.h>
|
||||
#include "slic3r/GUI/BBLTopbar.hpp"
|
||||
#include "libslic3r/Format/bbs_3mf.hpp"
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <optional>
|
||||
#include "slic3r/GUI/GLToolbar.hpp"
|
||||
#include "libslic3r/Preset.hpp"
|
||||
#include <functional>
|
||||
#include <wx/busycursor.h>
|
||||
#include <cstddef>
|
||||
#include "slic3r/GUI/Project.hpp"
|
||||
#include <wx/bookctrl.h>
|
||||
#include "slic3r/GUI/LazyPage.hpp"
|
||||
#include "slic3r/GUI/Monitor.hpp"
|
||||
#include "slic3r/GUI/PrinterWebView.hpp"
|
||||
#include "slic3r/GUI/MultiMachinePage.hpp"
|
||||
#include "slic3r/GUI/CalibrationPanel.hpp"
|
||||
#include "slic3r/GUI/ReleaseNote.hpp"
|
||||
#include "slic3r/GUI/GUI.hpp"
|
||||
#include <vector>
|
||||
#include "libslic3r/PublishSettings.hpp"
|
||||
#include "libslic3r/Config.hpp"
|
||||
#include "slic3r/GUI/Widgets/StateColor.hpp"
|
||||
#include <wx/colour.h>
|
||||
#include "slic3r/GUI/FilamentGroupPopup.hpp"
|
||||
#include "slic3r/GUI/Widgets/SideMenuPopup.hpp"
|
||||
#include <utility>
|
||||
#include "libslic3r/libslic3r.h"
|
||||
#include "slic3r/GUI/Printer/PrinterFileSystem.h"
|
||||
#include <algorithm>
|
||||
#include <wx/dirdlg.h>
|
||||
#include <exception>
|
||||
#include <wx/filedlg.h>
|
||||
#include "slic3r/GUI/Lazy.hpp"
|
||||
#include <wx/filefn.h>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <wx/base64.h>
|
||||
#include <ctime>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include "slic3r/GUI/calib_dlg.hpp"
|
||||
#include <wx/panel.h>
|
||||
#include <wx/settings.h>
|
||||
#include <wx/textentry.h>
|
||||
#include <wx/notebook.h>
|
||||
#include <wx/listbook.h>
|
||||
@@ -13,11 +61,13 @@
|
||||
//#include <wx/glcanvas.h>
|
||||
#include <wx/filename.h>
|
||||
#include <wx/debug.h>
|
||||
#include <wx/toplevel.h>
|
||||
#include <wx/utils.h>
|
||||
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include <boost/log/trivial.hpp>
|
||||
#include <boost/property_tree/ptree.hpp>
|
||||
#include <wx/webview.h>
|
||||
|
||||
#include "libslic3r/Print.hpp"
|
||||
#include "libslic3r/Polygon.hpp"
|
||||
@@ -30,6 +80,7 @@
|
||||
#include "3DScene.hpp"
|
||||
#include "ParamsDialog.hpp"
|
||||
#include "PrintHostDialogs.hpp"
|
||||
#include "libslic3r_version.h"
|
||||
#include "wxExtensions.hpp"
|
||||
#include "GUI_ObjectList.hpp"
|
||||
#include "Mouse3DController.hpp"
|
||||
@@ -66,6 +117,7 @@
|
||||
#include "NotificationManager.hpp"
|
||||
#include "MarkdownTip.hpp"
|
||||
#include "NetworkTestDialog.hpp"
|
||||
#include "SceneBenchmark.hpp"
|
||||
#include "ConfigWizard.hpp"
|
||||
#include "Widgets/WebView.hpp"
|
||||
#include "DailyTips.hpp"
|
||||
@@ -2764,6 +2816,10 @@ wxMenu* MainFrame::generate_help_menu()
|
||||
dlg.ShowModal();
|
||||
});
|
||||
|
||||
if (wxGetApp().is_editor())
|
||||
append_menu_item(helpMenu, wxID_ANY, _L("Benchmark 3D Scene"), _L("Measure how fast the 3D scene renders in Prepare and Preview"),
|
||||
[](wxCommandEvent&) { run_scene_benchmark(); });
|
||||
|
||||
helpMenu->AppendSeparator();
|
||||
|
||||
append_menu_item(helpMenu, wxID_ANY, _L("Show Tip of the Day"), _L("Show Tip of the Day"), [](wxCommandEvent&) {
|
||||
|
||||
Reference in New Issue
Block a user