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>2018-06-28 17:14:17 +0300
committertamasmeszaros <meszaros.q@gmail.com>2018-06-28 17:14:17 +0300
commit5446b9f1e570867e0a3e2584aaf8d964b25a0889 (patch)
treee243e7dd96cc9041930edb8d875bc2d9e1d66a43 /xs/src/libslic3r/Model.hpp
parent230c681482bd4c9b34fd91589a9ace2d847b1217 (diff)
Incorporating performance optimizations from libnest2d
Diffstat (limited to 'xs/src/libslic3r/Model.hpp')
-rw-r--r--xs/src/libslic3r/Model.hpp3
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;