Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2021-11-11 13:12:03 +0300
committertamasmeszaros <meszaros.q@gmail.com>2021-11-11 13:12:03 +0300
commit17686b48145372112bb8b5c4e68c62dfcbfa9a5a (patch)
tree4b44daf7e22e96af7a597c9dd474c0e5503cfd0b /src/libslic3r/Model.hpp
parenta0e6c7a076c2b63eb5027757a8d398a8715152b4 (diff)
Slight performance boost
follow up to f7db7c0
Diffstat (limited to 'src/libslic3r/Model.hpp')
-rw-r--r--src/libslic3r/Model.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libslic3r/Model.hpp b/src/libslic3r/Model.hpp
index e47ebda39..3e11336af 100644
--- a/src/libslic3r/Model.hpp
+++ b/src/libslic3r/Model.hpp
@@ -684,7 +684,7 @@ public:
void calculate_convex_hull();
const TriangleMesh& get_convex_hull() const;
- std::shared_ptr<const TriangleMesh> get_convex_hull_shared_ptr() const { return m_convex_hull; }
+ const std::shared_ptr<const TriangleMesh>& get_convex_hull_shared_ptr() const { return m_convex_hull; }
// Get count of errors in the mesh
int get_repaired_errors_count() const;