diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2021-11-11 13:12:03 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2021-11-11 13:12:03 +0300 |
commit | 17686b48145372112bb8b5c4e68c62dfcbfa9a5a (patch) | |
tree | 4b44daf7e22e96af7a597c9dd474c0e5503cfd0b /src/libslic3r/Model.hpp | |
parent | a0e6c7a076c2b63eb5027757a8d398a8715152b4 (diff) |
Slight performance boost
follow up to f7db7c0
Diffstat (limited to 'src/libslic3r/Model.hpp')
-rw-r--r-- | src/libslic3r/Model.hpp | 2 |
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; |