summarylogtreecommitdiffstats
path: root/0011-fix-constructible-svgfile.patch
blob: bace11eb02844c11a193c99953b5deeb4c85798d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/libslic3r/EmbossShape.hpp b/src/libslic3r/EmbossShape.hpp
index 3e4a950037..22e5d3aee1 100644
--- a/src/libslic3r/EmbossShape.hpp
+++ b/src/libslic3r/EmbossShape.hpp
@@ -101,6 +101,12 @@ struct EmbossShape
         // Loaded string data from file
         std::shared_ptr<std::string> file_data = nullptr;
 
+       SvgFile() {}
+
+       SvgFile(const std::string &path) : path(path) {}
+
+       SvgFile(const std::string &path, const std::string &path_in_3mf) : path(path), path_in_3mf(path_in_3mf) {}
+
         template<class Archive> void save(Archive &ar) const {
             // Note: image is only cache it is not neccessary to store