From 58f3290a93ea10851f8322bd16c08965a5ed5d7e Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Thu, 15 Jun 2017 21:42:40 -0500 Subject: [PATCH] Oops, moved it to a different class by mistake. --- xs/src/libslic3r/Model.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xs/src/libslic3r/Model.hpp b/xs/src/libslic3r/Model.hpp index d20821e73..6b0912379 100644 --- a/xs/src/libslic3r/Model.hpp +++ b/xs/src/libslic3r/Model.hpp @@ -134,6 +134,8 @@ class Model /// This transformation works in the XY plane only and no transformation in Z is performed. /// \param point pointf object to center the model instances of model objects around void center_instances_around_point(const Pointf &point); + + void align_instances_to_origin(); /// Translate each ModelObject with x, y, z units. /// \param x coordf_t units in the x direction @@ -342,7 +344,6 @@ class ModelObject /// Center the current ModelObject to origin by translating the ModelVolumes void center_around_origin(); - void align_instances_to_origin(); /// Translate the current ModelObject by translating ModelVolumes with (x,y,z) units. /// This function calls translate(coordf_t x, coordf_t y, coordf_t z) to translate every TriangleMesh in each ModelVolume.