1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-29 10:55:50 +00:00

Fixed #1244 - c++ part

This commit is contained in:
Enrico Turri
2018-09-26 11:24:19 +02:00
parent 51cf964b51
commit 025fdc1359
3 changed files with 9 additions and 0 deletions
+5
View File
@@ -988,6 +988,11 @@ const TriangleMesh& ModelVolume::get_convex_hull() const
return m_convex_hull;
}
TriangleMesh& ModelVolume::get_convex_hull()
{
return m_convex_hull;
}
ModelVolume::Type ModelVolume::type_from_string(const std::string &s)
{
// Legacy support
+1
View File
@@ -196,6 +196,7 @@ public:
void calculate_convex_hull();
const TriangleMesh& get_convex_hull() const;
TriangleMesh& get_convex_hull();
// Helpers for loading / storing into AMF / 3MF files.
static Type type_from_string(const std::string &s);