mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 10:51:22 +00:00
A *lot* of import fixes for flatpak (#3909)
* A *lot* of import fixes for flatpak Aside, thank you @hadess for the majority of these fixes. You are the base point for a lot of issues fixed during the creation of this flatpak. * Use slic3r::load_string_file Boost 1.84 removed `boost::fs::load_string_file` so use the func located in Utils.hpp
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#include "BRepPrimAPI_MakePrism.hxx"
|
||||
#include "Font_FontMgr.hxx"
|
||||
|
||||
#include <boost/log/trivial.hpp>
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
static std::map<std::string, std::string> g_occt_fonts_maps; //map<font_name, font_path>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef slic3r_Text_Shape_hpp_
|
||||
#define slic3r_Text_Shape_hpp_
|
||||
|
||||
#include "libslic3r/TriangleMesh.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
class TriangleMesh;
|
||||
|
||||
@@ -17,4 +19,4 @@ std::map<std::string, std::string> get_occt_fonts_maps();
|
||||
|
||||
}; // namespace Slic3r
|
||||
|
||||
#endif // slic3r_Text_Shape_hpp_
|
||||
#endif // slic3r_Text_Shape_hpp_
|
||||
|
||||
Reference in New Issue
Block a user