diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2018-06-28 17:14:17 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2018-06-28 17:14:17 +0300 |
commit | 5446b9f1e570867e0a3e2584aaf8d964b25a0889 (patch) | |
tree | e243e7dd96cc9041930edb8d875bc2d9e1d66a43 /xs/src/libslic3r/Model.hpp | |
parent | 230c681482bd4c9b34fd91589a9ace2d847b1217 (diff) |
Incorporating performance optimizations from libnest2d
Diffstat (limited to 'xs/src/libslic3r/Model.hpp')
-rw-r--r-- | xs/src/libslic3r/Model.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Model.hpp b/xs/src/libslic3r/Model.hpp index 8b63c3641..42b0a9edb 100644 --- a/xs/src/libslic3r/Model.hpp +++ b/xs/src/libslic3r/Model.hpp @@ -201,8 +201,9 @@ public: double rotation; // Rotation around the Z axis, in radians around mesh center point double scaling_factor; Pointf offset; // in unscaled coordinates + double offset_z = 0; - ModelObject* get_object() const { return this->object; }; + ModelObject* get_object() const { return this->object; } // To be called on an external mesh void transform_mesh(TriangleMesh* mesh, bool dont_translate = false) const; |