Fixed #1244 - perl part

This commit is contained in:
Enrico Turri
2018-09-26 11:22:01 +02:00
parent cce5f3203b
commit 3835a1cacf
4 changed files with 9 additions and 0 deletions

View File

@@ -973,6 +973,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

View File

@@ -195,6 +195,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);