mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-04 14:20:58 +00:00
Restore the libslic3r Precompiled Header and Direct Includes Lost in the Platform Pass
The platform-file pass treated pchheader.hpp as an ordinary header and emptied it, and left GUI_Preview.hpp and 14 other files relying on headers they no longer reached directly.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "../PrintConfig.hpp"
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
class PchipInterpolatorHelper;
|
||||
namespace Slic3r { enum ExtrusionRole : uint8_t; }
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <cmath>
|
||||
#include <cstddef>
|
||||
#include <list>
|
||||
#include <cstdint>
|
||||
#include <cassert>
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
|
||||
@@ -110,7 +110,19 @@
|
||||
#include <cereal/access.hpp>
|
||||
#include <cereal/types/base_class.hpp>
|
||||
|
||||
#include "BoundingBox.hpp"
|
||||
#include "ClipperUtils.hpp"
|
||||
#include "Config.hpp"
|
||||
#include "enum_bitmask.hpp"
|
||||
#include "format.hpp"
|
||||
#include "I18N.hpp"
|
||||
#include "MultiPoint.hpp"
|
||||
#include "Point.hpp"
|
||||
#include "Polygon.hpp"
|
||||
#include "Polyline.hpp"
|
||||
#include "SVG.hpp"
|
||||
|
||||
#include "libslic3r.h"
|
||||
#include "libslic3r_version.h"
|
||||
|
||||
#include <Shiny/Shiny.h>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "3DBed.hpp"
|
||||
#include "PartPlate.hpp"
|
||||
#include "I18N.hpp"
|
||||
|
||||
#include <vector>
|
||||
#include "libslic3r/Polyline.hpp"
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include "libslic3r/Config.hpp"
|
||||
#include "libslic3r/Polygon.hpp"
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <memory>
|
||||
#include "slic3r/GUI/HintNotification.hpp"
|
||||
#include "slic3r/GUI/GLCanvas3D.hpp"
|
||||
#include "slic3r/GUI/I18N.hpp"
|
||||
|
||||
#ifndef IMGUI_DEFINE_MATH_OPERATORS
|
||||
#define IMGUI_DEFINE_MATH_OPERATORS
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "slic3r/GUI/InstanceCheck.hpp"
|
||||
#include "slic3r/GUI/format.hpp"
|
||||
#include "slic3r/GUI/MainFrame.hpp"
|
||||
#include "slic3r/GUI/I18N.hpp"
|
||||
|
||||
// To show a message box if GUI initialization ends up with an exception thrown.
|
||||
#include <vector>
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
#include "libslic3r/ExPolygon.hpp"
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
#if ENABLE_OPENGL_AUTO_AA_SAMPLES
|
||||
#include "GUI_Init.hpp"
|
||||
#endif // ENABLE_OPENGL_AUTO_AA_SAMPLES
|
||||
|
||||
@@ -158,7 +158,7 @@ public:
|
||||
//BBS: add m_loaded_print logic
|
||||
bool is_loaded() const { return (m_loaded_print != nullptr); }
|
||||
//BBS
|
||||
void on_tick_changed(Type type);
|
||||
void on_tick_changed(CustomGCode::Type type);
|
||||
|
||||
void show_sliders(bool show = true);
|
||||
void show_moves_sliders(bool show = true);
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "slic3r/GUI/Gizmos/GLGizmosManager.hpp"
|
||||
#include "slic3r/GUI/ImGuiWrapper.hpp"
|
||||
#include "slic3r/GUI/Selection.hpp"
|
||||
#include "slic3r/GUI/I18N.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
namespace GUI {
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <map>
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
#include "GUI_Utils.hpp"
|
||||
#include <wx/simplebook.h>
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "Widgets/SwitchButton.hpp"
|
||||
#include "Widgets/Button.hpp"
|
||||
#include "GUI_Factories.hpp"
|
||||
#include "I18N.hpp"
|
||||
#include "libslic3r/Config.hpp"
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <string>
|
||||
#include "slic3r/GUI/GUI.hpp"
|
||||
#include "slic3r/GUI/Auxiliary.hpp"
|
||||
#include "slic3r/GUI/Printer/PrinterFileSystem.h"
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
#include <map>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include "libslic3r/PresetBundle.hpp"
|
||||
#include "libslic3r/PresetCacheFormat.hpp"
|
||||
#include "slic3r/GUI/GUI_App.hpp"
|
||||
#include "slic3r/GUI/Printer/PrinterFileSystem.h"
|
||||
#include "libslic3r_version.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include "Widgets/Label.hpp"
|
||||
#include "MainFrame.hpp"
|
||||
#include "libslic3r/PresetBundle.hpp"
|
||||
#include "slic3r/GUI/Printer/PrinterFileSystem.h"
|
||||
#include "slic3r/GUI/Jobs/SendJob.hpp"
|
||||
#include "slic3r/Utils/json_diff.hpp"
|
||||
#include <boost/filesystem.hpp>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <cmath>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <fstream>
|
||||
#include <iomanip>
|
||||
#include <ios>
|
||||
|
||||
Reference in New Issue
Block a user